push: Push an element onto a stack.

Description Usage Arguments Value

View source: R/stacks.R

Description

Push an element onto a stack.

Usage

1
push(stack, elm)

Arguments

stack

A stack object

elm

An element to push to the top of the stack

Value

Updated stack


mailund/matchbox documentation built on Feb. 3, 2020, 10:17 p.m.