rankOfArray

Members

Manifest constants

rankOfArray
enum rankOfArray;
Undocumented in source.
rankOfArray
enum rankOfArray;
Undocumented in source.

Parameters

T

any type

Return Value

Depth of array nesting (1 for plain array) if T is an array, 0 otherwise

Examples

static assert (rankOfArray!(real[][]) == 2);
static assert (rankOfArray!(real[2][]) == 2);

Meta