Min

Checks for a value that is greater or equals the given minimum

  • return (boolean)

In your code

if(v::min(10, 5)) {
  echo 'Yay, valid!';
}

In fields

fields:
  example:
    label: Example field
    type: text
    validate:
      min: 5