UNPKG

simple-body-validator

Version:

This package is inspired by Laravel validation, and aims to make body validation easier for Javascript developers

21 lines (20 loc) 449 B
import BaseRule from './baseRule'; declare class NotIn extends BaseRule { /** * The name of the rule. */ rule: string; /** * The accepted values. */ values: (string | number)[]; /** * Create a new NotIn rule instance. */ constructor(values: (string | number)[]); /** * Convert the rule to a validation string. */ toString(): string; } export default NotIn;