unwrap: Extract singular element of a length-1 unnamed list...

View source: R/utils.R

unwrapR Documentation

Extract singular element of a length-1 unnamed list (validated)

Description

Inverse of list(elt).

Usage

unwrap(x)

Arguments

x

a length-1 list

Value

x[1L], if x actually was a length-1 list; error otherwise


cmu-delphi/epiprocess documentation built on April 12, 2025, 12:51 p.m.