BooleanSchemaOptionsinterface
{
readonly value?: boolean | undefined;
readonly required?: boolean | undefined;
}| Property | Type | |
|---|---|---|
.value | boolean | Default boolean value used when the input is undefined. Defaults to false readonly |
.required | boolean | When true, a falsy result is rejected as invalid. Defaults to false readonly |
Allowed options for BooleanSchema.