list.empty()
Last updated
Was this helpful?
Last updated
Was this helpful?
The list.empty()
function returns the bool
indicating whether the list is empty.
$list
The list to check against its length.
The return value is a bool
indicating whether $list
is empty.