JsonUtils.isEmptyObjectOrUndefined Function

Determine if the input is undefined or an empty Javascript object.

isEmptyObjectOrUndefined(json: any): boolean

@returns true if json is undefined or is an Object with no keys (equivalent to {}).

Parameter Type Description
json any The JSON object to test.

Returns - boolean

true if json is undefined or is an Object with no keys (equivalent to {}).

Defined in

Last Updated: 17 December, 2024