arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
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
)
(
)
Meta
Source
See Implementation
arsd
core
FlexibleDelegate
functions
opAssign
opCall
opCast
Use if(thing) to check if the delegate is null or not.