isEmpty

The isEmpty method returns a boolean value that is true if the table is empty (i.e., size() == 0), or false if the table is not empty.

Syntax

Parameters

This method takes no arguments.

Returns

A boolean value that is true if the table is empty or false if the table is not empty.

Example