The union of allowed enum values.
The array of allowed values.
The array of values allowed for the input.
Optional
options: IssueOptions | MessageThe issue options or the issue message.
Creates the shape that constrains input with values of the enum-like object.
The union of allowed enum values.
The object that maps from the key to an enum value.
The native enum or a mapping object.
Optional
options: IssueOptions | MessageThe issue options or the issue message.
Creates the shape that constrains input with the array of values.