class-validator
Version:
Decorator-based property validation for classes.
11 lines (10 loc) • 564 B
TypeScript
import { ValidationOptions } from '../ValidationOptions';
export declare const IS_ISO4217_CURRENCY_CODE = "isISO4217CurrencyCode";
/**
* Check if the string is a valid [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) officially assigned currency code.
*/
export declare function isISO4217CurrencyCode(value: unknown): boolean;
/**
* Check if the string is a valid [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) officially assigned currency code.
*/
export declare function IsISO4217CurrencyCode(validationOptions?: ValidationOptions): PropertyDecorator;