Skip to content

class Crystal::MixedUnionType
inherits Crystal::UnionType

A union type that doesn't match any of the previous definitions, so it can contain Nil with primitive types, or Reference types with primitives types. Must be represented as a union.