Asserts that an object is member of any of the specified classes.
Details
In contrast to checkmate::assert_class()
, this function returns TRUE
as long as x
is at least member of one of classes
.
See also
Other functions extending the checkmate package:
assert_cli()
,
assert_df_or_tibble()
,
assert_inf_count()
,
assert_mime_type()
,
assert_pkg()