Schema.build.boolean
Creates a validation builder that accepts boolean values.
boolean: (error?: StringConvertible) => BooleanBuilder;
Parameters
- error — Custom error message for type validation.
Return value
Related
Schema.build static
An object containing functions that create Builder instances for specific types.
