vertx / io.vertx.reactivex.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 `io.vertx.reactivex.ext.web.api.validation.ParameterValidationRule#allowEmptyValue` true. It can be null

Return