import { isFunction } from "./isFunction";
/**
* Tests to see if the object is "thennable".
* @param value the object to test
*/
export function isPromise(value: any): value is PromiseLike<any> {
return isFunction(value?.then);
}
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/samihalawa/brevo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server