Skip to main content
Glama
function.js340 B
import getFunctionName from 'get-func-name' import { truncate } from './helpers' export default function inspectFunction(func, options) { const name = getFunctionName(func) if (!name) { return options.stylize('[Function]', 'special') } return options.stylize(`[Function ${truncate(name, options.truncate - 11)}]`, 'special') }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yogendhra9/ZerodhaMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server