Expand description
Flow built-in type names.
Every primitive and special type in Flow’s type system is defined here as a constant. No code in this crate should use raw string literals for Flow type names — always reference these constants instead.
Constants§
- ANY
any— opt-out of type checking.- BIGINT
bigint— arbitrary-precision integers.- BOOLEAN
boolean— true/false.- EMPTY
empty— the bottom type (no value inhabits this type).- MIXED
mixed— the top type (any value, unknown shape).- NULL
null— explicit null.- NUMBER
number— numeric values (integer and floating-point).- READ_
ONLY_ ARRAY $ReadOnlyArray— immutable array generic.- STRING
string— text values.- SYMBOL
symbol— unique symbols.- VOID
void— absence of a value (unit type).