isEmpty

open override fun isEmpty(): Boolean

Returns true if this stack contains zero items.

Return

true if this stack contains zero items.