Skip to main content
Glama
is-promise-like.js325 B
'use strict' /** * @param {any} maybePromiseLike * @returns {maybePromiseLike is PromiseLike} */ function isPromiseLike (maybePromiseLike) { return ( maybePromiseLike !== null && typeof maybePromiseLike === 'object' && typeof maybePromiseLike.then === 'function' ) } module.exports = { isPromiseLike }

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/krtw00/search-mcp'

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