ParameterIdentifierTuple

Returns a string array with all parameter names of a function.

If a parameter has no name, an empty string is placed into array.

Members

Functions

Impl
string[] Impl()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ParameterIdentifierTuple
enum string[] ParameterIdentifierTuple;
Undocumented in source.

Parameters

F

A function.

Return Value

Function parameter names.

Examples

int func(ref Object stuff, uint[] = null, scope uint k = 1);
alias P = ParameterIdentifierTuple!func;
static assert(P[0] == "stuff");
static assert(P[1] == "");
static assert(P[2] == "k");

Meta