Skip to main content
Glama
isAbstractClosure.js•244 B
'use strict'; var functionName = require('function.prototype.name'); var anon = functionName(function () {}); module.exports = function isAbstractClosure(x) { return typeof x === 'function' && (!x.prototype || functionName(x) === anon); };

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/guangxiangdebizi/PPT-MCP'

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