This function extracts the first value from an enumerated element.
Examples
# Extract the first value from an enumerated element
elem <- list(1, "a", "b")
val1(elem)
#> [1] "a"
This function extracts the first value from an enumerated element.
# Extract the first value from an enumerated element
elem <- list(1, "a", "b")
val1(elem)
#> [1] "a"