Skip to content

isPromise

isPromise(value): value is Promise<any>

Defined in: utils/promise/functions.ts:16

Checks if the given value is a promise.

any

The value to check.

value is Promise<any>

True if the value is a promise, false otherwise.