class Crystal::NilableType
inherits Crystal::UnionType
¶
A union type that has two types: Nil and another Reference type. Can be represented as a maybe-null pointer where the type id of the type that is not nil is known at compile time.