Skip to main content
The Deno 2 Release Candidate is here
Learn more
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

value: unknown
optional
options: { nullable?: boolean; }

Returns

boolean