UNPKG

validatorshield

Version:

Universal validation (frontend + backend) with TypeScript. Includes common rules and Sequelize-backed async rules (unique, exists).

7 lines (6 loc) 195 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.notIn = notIn; function notIn(value, _ctx, ...disallowed) { return !disallowed.includes(String(value)); }