pub const fn regional_indicator() -> CodePointSetDataBorrowed<'static>
Expand description
Regional indicator characters, U+1F1E6..U+1F1FF
โจ Enabled with the compiled_data
Cargo feature.
๐ Help choosing a constructor
ยงExample
use icu::properties::sets;
let regional_indicator = sets::regional_indicator();
assert!(regional_indicator.contains('๐น')); // U+1F1F9 REGIONAL INDICATOR SYMBOL LETTER T
assert!(!regional_indicator.contains('โ')); // U+24C9 CIRCLED LATIN CAPITAL LETTER T
assert!(!regional_indicator.contains('T'));