Function icu_properties::sets::regional_indicator
source · pub const fn regional_indicator() -> CodePointSetDataBorrowed<'static>
Expand description
Regional indicator characters, U+1F1E6..U+1F1FF
✨ Enabled with the compiled_data
Cargo feature.
§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'));