R/assertions.R
is_balanced.Rd
Tests whether there is an equal number of opening and closing brackets in the utility functions.
is_balanced(string, open, close)
A character string
An opening bracket ( [ or <
A closing bracket ) ] or >
A boolean equal to `TRUE` if the utility expression is balanced