isPointer

Determines whether T is a pointer type.

Members

Variables

isPointer
enum bool isPointer;
Undocumented in source.
isPointer
enum bool isPointer;
Undocumented in source.

Parameters

T

A type.

Return Value

$(D_KEYWORD true) if T is a pointer type, $(D_KEYWORD false) otherwise.

Examples

static assert(isPointer!(bool*));
static assert(isPointer!(const bool*));
static assert(isPointer!(const shared bool*));
static assert(!isPointer!bool);

Meta