Skip to contents

Simple list push

Usage

push_to_list(input_list, element)

Arguments

input_list

A list to push to

element

The element to push

Value

list with element pushed

Examples

mylist <- push_to_list(mylist, "new element")
#> Error: object 'mylist' not found