Method __builtin.Stack()->pop_to()


Method pop_to

void pop_to(int depth)

Description

Pops entries from the stack until it reaches the specified depth.

The popped entries are not returned.

Throws

Throws an error if there are fewer than depth elements on the stack.

See also

pop(), quick_pop()