val1 {FastUtils}R Documentation

Get First Value from Enumerated Element

Description

This function extracts the first value from an enumerated element.

Usage

val1(elem)

Arguments

elem

An enumerated element.

Value

The first value in the enumerated element.

See Also

enumerateit()

Examples

# Extract the first value from an enumerated element
elem <- list(1, "a", "b")
val1(elem)

[Package FastUtils version 0.1.1 Index]