ChoiceSchema.validate()method

validate(unsafeValue: unknown = this.value): O

Validate an unknown value as one of the allowed choices.