UNPKG

class-validator

Version:

Decorator-based property validation for classes.

13 lines (12 loc) 514 B
import { ValidationOptions } from '../ValidationOptions'; export declare const IS_IBAN = "isIBAN"; /** * Check if a string is a IBAN (International Bank Account Number). * If given value is not a string, then it returns false. */ export declare function isIBAN(value: unknown): boolean; /** * Check if a string is a IBAN (International Bank Account Number). * If given value is not a string, then it returns false. */ export declare function IsIBAN(validationOptions?: ValidationOptions): PropertyDecorator;