array

Ensure the value is a valid array. Also this validation will never validate the size of array.

const rules = {
  whiteListedUrls: 'array'
}

// or
const rules = {
  whiteListedUrls: [
    rule('array')
  ]
}

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

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