Function icu_properties::sets::emoji
source · pub const fn emoji() -> CodePointSetDataBorrowed<'static>
Expand description
Characters that are emoji
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let emoji = sets::emoji();
assert!(emoji.contains('🔥')); // U+1F525 FIRE
assert!(!emoji.contains('V'));