functional (version 0.6)

Identity: Identity function.

Description

Is concatenation benign?

Usage

Identity(...)

Arguments

...
tautological arguments

Value

The tautologized arguments, concatenated

Examples

Run this code
list.copy <- function(list)
  Reduce(Identity, list)

list <- c(1, 2, 3)
stopifnot(list.copy(list) == list)

Run the code above in your browser using DataLab