The OpenD Programming Language

isStdNullable

Match types like std.typeconst: Nullable.

template isStdNullable (
T
) {
enum bool isStdNullable;
}

Examples

import std.typecons;
static assert(isStdNullable!(Nullable!double));
import mir.algebraic;
static assert(isStdNullable!(Nullable!double));

Meta