Format condition - convert a character vector to character scalar
Source:R/format_condition.R
format_condition.Rd
Function takes a character vector of predicates and returns a formatted condition.
Examples
format_condition(NULL) # returns {}
#> [1] "{}"
format_condition(c("a", "b", "c")) # returns {a,b,c}
#> [1] "{a,b,c}"