Interface ArrayValidator

interface ArrayValidator {
    isArray?: {
        errorMsg?: string;
    };
    maxItems?: {
        errorMsg?: string;
        value: number;
    };
    minItems?: {
        errorMsg?: string;
        value: number;
    };
    uniqueItems?: {
        errorMsg?: string;
    };
}

Properties

isArray?: {
    errorMsg?: string;
}

Type declaration

  • Optional errorMsg?: string
maxItems?: {
    errorMsg?: string;
    value: number;
}

Type declaration

  • Optional errorMsg?: string
  • value: number
minItems?: {
    errorMsg?: string;
    value: number;
}

Type declaration

  • Optional errorMsg?: string
  • value: number
uniqueItems?: {
    errorMsg?: string;
}

Type declaration

  • Optional errorMsg?: string

Generated using TypeDoc