FunctionTypeOf

Determines the type of the callable F.

Members

Aliases

FunctionTypeOf
alias FunctionTypeOf = T
Undocumented in source.
FunctionTypeOf
alias FunctionTypeOf = FunctionTypeOf!(F[0].opCall)
Undocumented in source.

Parameters

F

A function.

Return Value

Type of the function F.

Examples

static assert(is(FunctionTypeOf!(void function()) == function));
static assert(is(FunctionTypeOf!(() {}) == function));

Meta