DryValidation.Types.Bool (dry_validation v1.0.1)
Represents a boolean type. Will cast the strings "true" and "false" into real boolean values.
DryValidation.schema do
required :admin, Types.Bool
end
Represents a boolean type. Will cast the strings "true" and "false" into real boolean values.
DryValidation.schema do
required :admin, Types.Bool
end