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 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.