isPromise
isPromise(
value
):value is Promise<any>
Defined in: utils/promise/functions.ts:16
Checks if the given value is a promise.
Parameters
value
any
The value to check.
Returns
value is Promise<any>
True if the value is a promise, false otherwise.