pop

fun pop(): T

Pops the topmost element in this Stack.

Return

Topmost element in this Stack.

Throws

If the stack is empty.