remix/data-schema · FunctionView Sourceenum_ Summary Create a schema that accepts one of the given values using strict equality (===). Signature function enum_<values extends readonly [unknown, unknown]>( values: values, ): Schema<unknown, values[number]> Copy code to clipboard Returns A schema that produces the union of allowed value types