top.Stack {Containers}R Documentation

Inspect the Top Element of a Stack

Description

This method returns the top element of a Stack.

Details

e = aStack$top()

Value

top returns the top element of the Stack in question, or NULL if the Stack is empty.

Author(s)

John Hughes


[Package Containers version 1.2 Index]