Note that one can include the schema for the type in the type arg to col_type_is() and domain_type_is().