Skip to main content
Glama

mcp-appstore

by appreply-co
defaultTo.js750 B
var _curry2 = require('./internal/_curry2'); /** * Returns the second argument if it is not `null`, `undefined` or `NaN` * otherwise the first argument is returned. * * @func * @memberOf R * @since v0.10.0 * @category Logic * @sig a -> b -> a | b * @param {a} val The default value. * @param {b} val The value to return if it is not null or undefined * @return {*} The the second value or the default value * @example * * var defaultTo42 = R.defaultTo(42); * * defaultTo42(null); //=> 42 * defaultTo42(undefined); //=> 42 * defaultTo42('Ramda'); //=> 'Ramda' * defaultTo42(parseInt('string')); //=> 42 */ module.exports = _curry2(function defaultTo(d, v) { return v == null || v !== v ? d : v; });

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