above

Makes sure the value provided by the end user is above the expected value. This method will wrap both the values inside the Number function.

const rules = {
  age: 'above:20'
}

// or
const rules = {
  age: [
    rule('above', 20)
  ]
}

For customized build, you can import this rule as follows.

import { above } from 'indicative/builds/validations'