class-validator
Version:
Decorator-based property validation for classes.
13 lines (12 loc) • 509 B
TypeScript
import { ValidationOptions } from '../ValidationOptions';
export declare const IS_FULL_WIDTH = "isFullWidth";
/**
* Checks if the string contains any full-width chars.
* If given value is not a string, then it returns false.
*/
export declare function isFullWidth(value: unknown): boolean;
/**
* Checks if the string contains any full-width chars.
* If given value is not a string, then it returns false.
*/
export declare function IsFullWidth(validationOptions?: ValidationOptions): PropertyDecorator;