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

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?(binary() | maybe_improper_list() | number() | map(), number()) ::
  boolean()