Skip to main content
Glama

mcp-appstore

by appreply-co
pathEq.js1.08 kB
var _curry3 = require('./internal/_curry3'); var equals = require('./equals'); var path = require('./path'); /** * Determines whether a nested path on an object has a specific value, in * `R.equals` terms. Most likely used to filter a list. * * @func * @memberOf R * @since v0.7.0 * @category Relation * @sig [String] -> * -> {String: *} -> Boolean * @param {Array} path The path of the nested property to use * @param {*} val The value to compare the nested property with * @param {Object} obj The object to check the nested property in * @return {Boolean} `true` if the value equals the nested object property, * `false` otherwise. * @example * * var user1 = { address: { zipCode: 90210 } }; * var user2 = { address: { zipCode: 55555 } }; * var user3 = { name: 'Bob' }; * var users = [ user1, user2, user3 ]; * var isFamous = R.pathEq(['address', 'zipCode'], 90210); * R.filter(isFamous, users); //=> [ user1 ] */ module.exports = _curry3(function pathEq(_path, val, obj) { return equals(path(_path, obj), val); });

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/appreply-co/mcp-appstore'

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