import { enumeration } from "https://deno.land/x/value_schema@v4.0.0/dist-deno/exporter.ts";
schema for enum-like (enum / union) or null or undefined
Parameters
options: RulesForEnumeration<E> & NullableRules & UndefinableRules
Returns
EnumerationSchema<E, null | undefined>
schema for enum-like (enum / union) or undefined
Parameters
options: RulesForEnumeration<E> & UndefinableRules
Returns
EnumerationSchema<E, undefined>
schema for enum-like (enum / union) or null
Parameters
rules: RulesForEnumeration<E> & NullableRules
Returns
EnumerationSchema<E, null>