enqueue: Add an element to a queue

Description Usage Arguments Value

View source: R/queues.R

Description

Add an element to a queue

Usage

1
enqueue(x, elm)

Arguments

x

A queue

elm

An element

Value

an updated queue where the element has been added


mailund/ralgo documentation built on April 3, 2018, 9:29 p.m.