UNPKG

425 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_NOT_EMPTY = "isNotEmpty";
3/**
4 * Checks if given value is not empty (!== '', !== null, !== undefined).
5 */
6export declare function isNotEmpty(value: unknown): boolean;
7/**
8 * Checks if given value is not empty (!== '', !== null, !== undefined).
9 */
10export declare function IsNotEmpty(validationOptions?: ValidationOptions): PropertyDecorator;