isCharArray

Is true iff T is a slice of chars.

enum isCharArray (
T
)

Examples

static assert(isCharArray!(char[]));
static assert(isCharArray!(const(char[])));
static assert(isCharArray!(const char[]));
static assert(isCharArray!(const const(char)[]));

static assert(!isCharArray!(wstring));
static assert(!isCharArray!(dstring));

Meta