vertx / io.vertx.ext.web.api.validation / ParameterTypeValidator / createBooleanTypeValidator

# createBooleanTypeValidator

`open static fun createBooleanTypeValidator(defaultValue: Any): ParameterTypeValidator`

Create a boolean type validator

### Parameters

`defaultValue` - Default value that will be set if parameter is empty or not found. To apply default value you have to set `ParameterValidationRule#allowEmptyValue()` true. It can be null

Return