UNPKG

632 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_NOT_EMPTY_OBJECT = "isNotEmptyObject";
3/**
4 * Checks if the value is valid Object & not empty.
5 * Returns false if the value is not an object or an empty valid object.
6 */
7export declare function isNotEmptyObject(value: unknown, options?: {
8 nullable?: boolean;
9}): boolean;
10/**
11 * Checks if the value is valid Object & not empty.
12 * Returns false if the value is not an object or an empty valid object.
13 */
14export declare function IsNotEmptyObject(options?: {
15 nullable?: boolean;
16}, validationOptions?: ValidationOptions): PropertyDecorator;