UNPKG

481 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_DATA_URI = "isDataURI";
3/**
4 * Check if the string is a data uri format.
5 * If given value is not a string, then it returns false.
6 */
7export declare function isDataURI(value: unknown): boolean;
8/**
9 * Check if the string is a data uri format.
10 * If given value is not a string, then it returns false.
11 */
12export declare function IsDataURI(validationOptions?: ValidationOptions): PropertyDecorator;