arsd.ranged

Members

Functions

assumeNotNull
NotNull!T assumeNotNull(T t)

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

enforceNotNull
NotNull!T enforceNotNull(T t)

A convenience function to check for null. If you pass null, it will throw an exception. Otherwise, return NotNull!T.

Structs

NotNull
struct NotNull(T)

NotNull ensures a null value can never be stored.

Meta

Suggestion Box / Bug Report