Skip to main content

Home > @jsplumb/util > isEmpty

isEmpty() function#

Returns whether or not the given object - which may be ArrayLike, or an object - is empty.

Signature:

export declare function isEmpty(o: any): boolean;

Parameters#

ParameterTypeDescription
oany

Returns:

boolean