Stack.nth

struct Stack(V, int Size = 0)
V
nth
(
uint i
)

Parameters

i uint

entry index

Return Value

Type: V

stack entry with index i, where a zero index represents the newest stack entry (the top).

Throws

StackBoundsException when the given index is out of range

Meta