Check that all classes in a list match

check_classes(data)

Arguments

data

list of objects to check