UNPKG

522 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_MULTIBYTE = "isMultibyte";
3/**
4 * Checks if the string contains one or more multibyte chars.
5 * If given value is not a string, then it returns false.
6 */
7export declare function isMultibyte(value: unknown): boolean;
8/**
9 * Checks if the string contains one or more multibyte chars.
10 * If given value is not a string, then it returns false.
11 */
12export declare function IsMultibyte(validationOptions?: ValidationOptions): PropertyDecorator;