The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
FlexibleDelegate.opCast
arsd
core
FlexibleDelegate
Use
if(thing)
to check if the delegate is null or not.
struct
FlexibleDelegate
(DelegateType)
static if
(
is(DelegateType FunctionType == delegate)
)
static if
(
is(FunctionType Parameters == __parameters)
)
static if
(
is(DelegateType ReturnType == return)
)
bool
opCast
(
T
:
bool
)
(
)
arsd
core
FlexibleDelegate
functions
opAssign
opCall
opCast
Suggestion Box / Bug Report
Use if(thing) to check if the delegate is null or not.