Function: isThenable()
isThenable(
input
:unknown
):input is Thenable
Defined in: isThenable.ts:21
Verify if an object is a promise.
Parameters
Parameter | Type | Description |
---|---|---|
input | unknown | The promise to verify |
Returns
input is Thenable
isThenable(
input
:unknown
):input is Thenable
Defined in: isThenable.ts:21
Verify if an object is a promise.
Parameter | Type | Description |
---|---|---|
input | unknown | The promise to verify |
input is Thenable