Function icu_properties::sets::extended_pictographic
source · pub const fn extended_pictographic() -> CodePointSetDataBorrowed<'static>
Expand description
Pictographic symbols, as well as reserved ranges in blocks largely associated with emoji characters
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let extended_pictographic = sets::extended_pictographic();
assert!(extended_pictographic.contains('🥳')); // U+1F973 FACE WITH PARTY HORN AND PARTY HAT
assert!(!extended_pictographic.contains('🇪')); // U+1F1EA REGIONAL INDICATOR SYMBOL LETTER E