You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addition of an OR operator for types will create better data definitions with less overhead, compared to tagged enum alternatives. The operator can function similar to Luau i.e. type bool_or_u8 = boolean | u8
Alternatives
Using tagged enums will in essence function as an OR, however there is more overhead.
i.e.
Describe your feature
The addition of an
OR
operator for types will create better data definitions with less overhead, compared to tagged enum alternatives. The operator can function similar to Luau i.e.type bool_or_u8 = boolean | u8
Alternatives
Using tagged enums will in essence function as an
OR
, however there is more overhead.i.e.
WILL CREATE -->
meaning that there is now an overhead of both a string and the value's type.
The text was updated successfully, but these errors were encountered: