isCallableType

Members

Static variables

isCallableType
auto isCallableType;
Undocumented in source.
isCallableType
auto isCallableType;
Undocumented in source.

Parameters

T

type to check

Return Value

true if T is a function, function pointer or delegate or callable aggregate

Examples

struct S
{
    void opCall (int) { }
}

static assert (isCallableType!(S));
static assert (isCallableType!(typeof(S.opCall)));

Meta