Object.is_empty

Object.is_empty

Object.is_empty

Function

Determine whether the object is empty.

Syntax

Parameters

None.

Return value

TypeDescription
BoolReturns true if there is no key-value pair, otherwise returns false.

Code Example

Notes

  • Only determine the number of key-value pairs of the object itself.