ae v0.0.3186 (2022-07-03T09:06:15Z)
Home
Dub
Repo
isPromise
ae
utils
promise
Return
true
if
P
is a
Promise
instantiation.
template
isPromise (
P
) {
static if
(
is(P == Promise!(T, E), T, E)
)
enum
isPromise
;
static if
(!(
is(P == Promise!(T, E), T, E)
))
enum
isPromise
;
}
Members
Manifest constants
isPromise
enum
isPromise
;
Undocumented in source.
isPromise
enum
isPromise
;
Undocumented in source.
Meta
Source
See Implementation
ae
utils
promise
modules
await
concurrency
range
timing
classes
Promise
functions
all
reject
resolve
structs
PromiseQueue
templates
PromiseError
PromiseValue
PromiseValueTransform
isPromise
Return true if P is a Promise instantiation.