Skip to main content
Glama

Weather & Stock MCP Server

by Jeetinida
set-is-subset-of.js578 B
'use strict'; var aSet = require('../internals/a-set'); var size = require('../internals/set-size'); var iterate = require('../internals/set-iterate'); var getSetRecord = require('../internals/get-set-record'); // `Set.prototype.isSubsetOf` method // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf module.exports = function isSubsetOf(other) { var O = aSet(this); var otherRec = getSetRecord(other); if (size(O) > otherRec.size) return false; return iterate(O, function (e) { if (!otherRec.includes(e)) return false; }, true) !== false; };

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/Jeetinida/stocknews-mcp'

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