Skip to main content
Glama
accessor.js•549 B
'use strict'; var result = require('./')(); var test = { __proto__: null, foo: {} }; /** @type {import('./accessor')} */ module.exports = function hasAccessor() { /* eslint no-proto: 0 */ return result && !('toString' in test) // eslint-disable-next-line no-extra-parens && /** @type {{ __proto__?: typeof Object.prototype }} */ ({}).__proto__ === Object.prototype // eslint-disable-next-line no-extra-parens && /** @type {ReadonlyArray<never> & { __proto__?: typeof Array.prototype }} */ ( []).__proto__ === Array.prototype; };

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