assert_case() checks an object for what case the tables and fields are in
and converts them to the target_case us required.
Requires the object to have the data_case attribute.
assert_case(x, target_case = "snake", .table_spec = data_spec(x))Other Data Spec Functions:
add_missing_spec_cols(),
add_missing_spec_tables(),
change_case_from_spec(),
check_spec(),
coerce_to_spec(),
data_case()