notIn

Makes sure that the value of field under validation is not from one of the defined values.

const rules = {
  username: 'not_in:root,admin,super'
}

// or
const rules = {
  username: [
    rule('not_in', ['root', 'admin', 'super'])
  ]
}

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

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