MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / isPromiseLike

Function isPromiseLike

packages/@stdlib/misc/src/utils.ts:57–63  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

55}
56
57export function isPromiseLike(value: any): value is PromiseLike<any> {
58 return (
59 value != null &&
60 typeof value === 'object' &&
61 typeof value.then === 'function'
62 );
63}
64
65export function merge<A extends object[]>(...a: [...A]) {
66 return Object.assign({}, ...a) as Merge<A>;

Callers 1

createSmartComputedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected