delphirtl • Docs
delphirtl / Stack
A last in, first out class
Stack
• T
new Stack<
T
>():Stack
<T
>
Stack
<T
>
get length():
number
The number of items in the store
number
pop():
undefined
|T
undefined
| T
The last value that was pushed into the store
push(
v
):void
• v: T
Puts the given value into the store
void