Compares equality of all members of a list.
listOf(x, class, valid = TRUE)
A codelist.
A character
defining the expected class.
A logical
defining if all elements should be
tested for validity. Default is TRUE
.
TRUE
is all elements of x
inherit from
class
.