Tests whether each value is a flat set of short members joined by ; or |
— the shape a multi-select / "tags" column takes once a list is collapsed
to a string ("Volunteer;Donor;Board", "a|b|c"). Requires a ;/|
delimiter and at least two non-empty, reasonably short members, so ordinary
prose or single values do not match. (Comma is intentionally excluded — it
is too common in numbers, names and sentences to be a reliable set delimiter.)
See also
Other serialized detectors:
is_json()
Examples
is_tags(c("Volunteer;Donor;Board", "a|b|c", "hello", "a;", NA))
#> [1] TRUE TRUE FALSE FALSE NA
#> TRUE TRUE FALSE FALSE NA