A type union, like (Int32 | String)
.
Resolves this union to a TypeNode
.
Resolves this union to a TypeNode
.
Returns the types of this union.
Crystal::Macros::ASTNode
Reference
Reference
Object
Object
Resolves this union to a TypeNode
. Gives a compile-time error if any type inside the union can't be resolved.
Resolves this union to a TypeNode
. Returns a NilLiteral
if any type inside the union can't be resolved.
Returns the types of this union.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Crystal/Macros/Union.html