Skip to main content
Glama
thisBigIntValue.js•453 B
'use strict'; var callBound = require('call-bound'); var $SyntaxError = require('es-errors/syntax'); var $bigIntValueOf = callBound('BigInt.prototype.valueOf', true); // https://262.ecma-international.org/11.0/#sec-thisbigintvalue module.exports = function thisBigIntValue(value) { if (typeof value === 'bigint') { return value; } if (!$bigIntValueOf) { throw new $SyntaxError('BigInt is not supported'); } return $bigIntValueOf(value); };

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