Interface StringValidator

interface StringValidator {
    isString?: {
        errorMsg?: string;
    };
    maxLength?: {
        errorMsg?: string;
        value: number;
    };
    minLength?: {
        errorMsg?: string;
        value: number;
    };
    pattern?: {
        errorMsg?: string;
        value: string;
    };
}

Properties

isString?: {
    errorMsg?: string;
}

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

  • Optional errorMsg?: string
  • value: string

Generated using TypeDoc