- :logical
empty?
check if given collection is empty
Parameters
empty? collection :null :string :dictionary :block
Returns
Examples
copyempty? "" ; => true empty? [] ; => true empty? #[] ; => true empty? [1 "two" 3] ; => false
empty? collection :null :string :dictionary :block
copyempty? "" ; => true empty? [] ; => true empty? #[] ; => true empty? [1 "two" 3] ; => false