contains_math_char

Function contains_math_char 

Source
pub fn contains_math_char(s: &str) -> bool
Expand description

Return true if the given string contains any character that are used as operators inside of math-parse

Example:

use math_parse::contains_math_char;
assert_eq!(contains_math_char("abcd"), false);
assert_eq!(contains_math_char("ab+cd"), true);