var _curry1 = require('./internal/_curry1');
var is = require('./is');
/**
* Returns the number of elements in the array by returning `list.length`.
*
* @func
* @memberOf R
* @since v0.3.0
* @category List
* @sig [a] -> Number
* @param {Array} list The array to inspect.
* @return {Number} The length of the array.
* @example
*
* R.length([]); //=> 0
* R.length([1, 2, 3]); //=> 3
*/
module.exports = _curry1(function length(list) {
return list != null && is(Number, list.length) ? list.length : NaN;
});
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