Learn R Programming

flifo (version 0.1.5)

print.stack: Print a stack.

Description

The function print.stack prints the class of the stack x (FIFO, LIFO, or NINO) and displays its next reachable object.

Usage

# S3 method for stack
print(x, ...)

Arguments

x

A stack.

...

Additional arguments.

Value

The stack x is returned invisibly.

See Also

push, pop.