Extract a trait element from the definitions$traits$elements

util_extract_list_element(i, my_list, var)

Arguments

i

A value within the definitions$traits$elements list which refers to types of traits

my_list

The list that contains the element we're interested in (i.e. definitions$traits$elements)

var

The type of variable of a trait

Value

The element/properties of a trait

Examples

if (FALSE) {
util_extract_list_element(1, definitions$traits$elements, "units")
}