The OpenD Programming Language

isSlice

Checks if the type is Slice instance.

enum isSlice (
T
)

Examples

alias A = uint[];
alias S = Slice!(int*);

static assert(isSlice!S);
static assert(!isSlice!A);

Meta