assumeNotNull

A convenience function to construct a NotNull value from something t you know isn't null.

assumeNotNull
(
T
)
(
T t
)
if (
is(T == class) ||
is(T == interface)
||
is(T == U*,
U
) &&
__traits(isScalar, T)
)

Meta