FlexibleDelegate.opCast

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