[[Crystal]]'s union types are so very simple and yet so powerful. # Syntax ## Definition ```crystal alias Int32OrString = Int32 | String ``` # References - https://crystal-lang.org/reference/1.7/syntax_and_semantics/type_grammar.html#union - https://crystal-lang.org/reference/1.7/syntax_and_semantics/union_types.html