import { enumeration } from "https://deno.land/x/value_schema@v4.0.0-rc.2/dist-deno/schemas/enumeration.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>