Skip to contents

Function takes a character vector of predicates and returns a formatted condition.

Usage

format_condition(condition)

Arguments

condition

a character vector

Value

a character scalar

Author

Michal Burda

Examples

format_condition(NULL)              # returns {}
#> [1] "{}"
format_condition(c("a", "b", "c"))  # returns {a,b,c}
#> [1] "{a,b,c}"