Implements a stack of Variant values.
Description
The CalculationStack class allows you to implement a stack of Variant values.
Properties
length
Length
public
length(): number
- returns: number - length
Instance methods
pop
Removes and returns the last value from the list.
public
pop(): Variant
- returns: Variant - the last value from the list.
peekAt
Peeks a Variant value located at a specified index.
public
peekAt(index: number): Variant
- index: int - a specified index.
- returns: Variant - a Variant value.
peek
Peeks a Variant value.
public
peek(): Variant
- returns: Variant - a Variant value.