Function icu_properties::sets::emoji_modifier_base
source · pub const fn emoji_modifier_base() -> CodePointSetDataBorrowed<'static>
Expand description
Characters that can serve as a base for emoji modifiers
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let emoji_modifier_base = sets::emoji_modifier_base();
assert!(emoji_modifier_base.contains('✊')); // U+270A RAISED FIST
assert!(!emoji_modifier_base.contains('⛰')); // U+26F0 MOUNTAIN