MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / isPromiseLike

Function isPromiseLike

src/platform/common/utils/async.ts:78–80  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

76}
77// eslint-disable-next-line @typescript-eslint/no-explicit-any
78export function isPromiseLike<T>(v: any): v is PromiseLike<T> {
79 return typeof v?.then === 'function';
80}
81
82//======================
83// Deferred

Callers 2

raceCancellationFunction · 0.90
raceTimeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected