Skip to contents

Check that each element of a list is of a required class

Usage

check_list_class(list.object, required.class)

Arguments

list.object

A list used in BEAMR analysis

required.class

Class for list elements, e.g. matrix

Value

Logical TRUE if list is of required class

Examples

data(omicdat)
check_list_class(omicdat, "matrix")
#> [1] TRUE