await-to-js1
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
is
Promise
promisify
to
Index
Variables
is
Promise
promisify
Functions
to
Variables
is
Promise
is
Promise
:
any
= require('is-promise')
promisify
promisify
:
any
Functions
to
to<T, U>
(
promiseOrFunction
:
Promise
<
T
>
|
function
, errorExt
?:
undefined
|
object
)
:
Promise
<
[
U
|
null
,
T
|
undefined
]
>
Type parameters
T
U
Parameters
promiseOrFunction:
Promise
<
T
>
|
function
Optional
errorExt:
undefined
|
object
Additional Information you can pass to the err object
Returns
Promise
<
[
U
|
null
,
T
|
undefined
]
>
Generated using
TypeDoc