UNPKG

robust-validator

Version:

Rule-based data validation library

15 lines (14 loc) 390 B
/** * The field under validation must not be included in the given list of values. * * @example * import { notIn } from "robust-validator" * * const definition = { * value: [notIn(["apple", "orange"])] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#not-in-foo-bar */ declare const _default: (items: string[]) => string; export default _default;