Contents

Roo

Array.empty?

Returns True if this Array object has no elements. Returns False if it does.

var a = []
a.empty? # => True
a.push("a")
a.empty? # => False