API reference / @evolu/common / Function

Function

Type Aliases

Type AliasDescription
LazyValueA function that delays computation and returns a value of type T.

Variables

VariableDescription
constFalse-
constNull-
constTrue-
constUndefined-
constVoid-

Functions

FunctionDescription
exhaustiveCheckHelper function to ensure exhaustive matching in a switch statement. Throws an error if an unhandled case is encountered.
identityReturns the input value unchanged.
readonlyCasts an array, set, record, or map to its readonly counterpart.

Was this page helpful?