getNullType
Gets the intrinsic null
type. There are multiple types that act as null
used internally in the compiler, so the type returned by this function should not be used in equality checks to determine if another type is null
. Instead, use type.flags & TypeFlags.Null
.