height

fun height(stackP: TrashStack): <Error class: unknown class>

Returns the height of a #GTrashStack.

Note that execution of this function is of O(N) complexity where N denotes the number of items on the stack.

Return

the height of the stack

Parameters

stackP

a #GTrashStack