UNPKG

520 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_FIREBASE_PUSH_ID = "IsFirebasePushId";
3/**
4 * Checks if the string is a Firebase Push Id
5 * If given value is not a Firebase Push Id, it returns false
6 */
7export declare function isFirebasePushId(value: unknown): boolean;
8/**
9 * Checks if the string is a Firebase Push Id
10 * If given value is not a Firebase Push Id, it returns false
11 */
12export declare function IsFirebasePushId(validationOptions?: ValidationOptions): PropertyDecorator;