isNotNull

Checks if T is type that is NotNull

Members

Manifest constants

isNotNull
enum isNotNull;
Undocumented in source.

Examples

import optional: NotNull;

class C {}
assert(isNotNull!(NotNull!C) == true);
assert(isNotNull!int == false);
assert(isNotNull!(int[]) == false);

Meta