pub const fn math() -> CodePointSetDataBorrowed<'static>Expand description
Characters used in mathematical notation
โจ Enabled with the compiled_data Cargo feature.
๐ Help choosing a constructor
ยงExample
use icu::properties::sets;
let math = sets::math();
assert!(math.contains('='));
assert!(math.contains('+'));
assert!(!math.contains('-'));
assert!(math.contains('โ'));  // U+2212 MINUS SIGN
assert!(!math.contains('/'));
assert!(math.contains('โ'));  // U+2215 DIVISION SLASH