UNPKG

378 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_DEFINED: string;
3/**
4 * Checks if value is defined (!== undefined, !== null).
5 */
6export declare function isDefined(value: any): boolean;
7/**
8 * Checks if value is defined (!== undefined, !== null).
9 */
10export declare function IsDefined(validationOptions?: ValidationOptions): PropertyDecorator;