Skip to main content
Glama
KeyForSymbol.js•385 B
'use strict'; var $TypeError = require('es-errors/type'); var callBound = require('call-bound'); var $keyFor = callBound('Symbol.keyFor', true); // https://262.ecma-international.org/14.0/#sec-keyforsymbol module.exports = function KeyForSymbol(sym) { if (typeof sym !== 'symbol') { throw new $TypeError('Assertion failed: `sym` must be a Symbol'); } return $keyFor(sym); };

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