Skip to main content
Glama
isSamePropertyDescriptor.js•389 B
'use strict'; var every = require('./every'); module.exports = function isSamePropertyDescriptor(ES, D1, D2) { var fields = [ '[[Configurable]]', '[[Enumerable]]', '[[Get]]', '[[Set]]', '[[Value]]', '[[Writable]]' ]; return every(fields, function (field) { if ((field in D1) !== (field in D2)) { return false; } return ES.SameValue(D1[field], D2[field]); }); };

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