View Source Veli.Validators.Min (Veli v0.2.7)

Min validator.

example

Example

rule = [min: 5]
Veli.valid("valid length", rule)
Veli.valid(1, rule) # invalid

Link to this section Summary

Link to this section Functions

@spec valid?(any(), number()) :: boolean()