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/pmtypes documentation built on Jan. 31, 2020, 1:09 p.m.