Name

isempty — Returns whether the list l is empty.

Synopsis

boolean isempty ( list l );
 

Parameters

list l

List

Return

boolean

Emptiness of list l

Description

Notice that the list l must not be nil.

Usage

  isempty([]) -> true
 

  isempty([19, 29]) -> false