Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_class_validator/src/index.ts>IsNotEmptyObject

Decorator-based property validation for classes.
Latest
function IsNotEmptyObject
import { IsNotEmptyObject } from "https://deno.land/x/deno_class_validator@v1.0.0/src/index.ts";

Checks if the value is valid Object & not empty. Returns false if the value is not an object or an empty valid object.

Parameters

optional
options: { nullable?: boolean; }
optional
validationOptions: ValidationOptions

Returns

PropertyDecorator