///|
/// Check the Unicode Extended_Pictographic property, including reserved
/// code points intended for future emoji. Used by UAX #14 and UAX #29.
pub fn is_extended_pictographic(c : Char) -> Bool {
@emoji.is_extended_pictographic(c)
}
///|
/// Check whether a character has the Unicode Emoji_Presentation property.
///
/// Emoji_Presentation covers the characters displayed as emoji by default.
/// It is narrower than the Emoji property: U+2764 HEAVY BLACK HEART and the
/// ASCII digits are emoji only when followed by U+FE0F VARIATION SELECTOR-16.
/// See UTS #51: https://www.unicode.org/reports/tr51/
pub fn is_emoji_presentation(c : Char) -> Bool {
@emoji.is_emoji_presentation(c)
}
///|
/// Check whether a character has the Unicode Emoji_Modifier property.
///
/// Emoji_Modifier covers the five skin tone modifiers U+1F3FB to U+1F3FF.
pub fn is_emoji_modifier(c : Char) -> Bool {
@emoji.is_emoji_modifier(c)
}
///|
/// Check whether a character has the Unicode Emoji_Modifier_Base property.
///
/// Emoji_Modifier_Base covers the characters whose appearance a following
/// Emoji_Modifier changes, such as U+1F44D THUMBS UP SIGN.
pub fn is_emoji_modifier_base(c : Char) -> Bool {
@emoji.is_emoji_modifier_base(c)
}
///|
/// Check whether a character starts an emoji variation sequence.
///
/// These are the characters `emoji-variation-sequences.txt` lists: each can
/// be followed by U+FE0E VARIATION SELECTOR-15 to ask for a text
/// presentation or by U+FE0F VARIATION SELECTOR-16 to ask for an emoji
/// presentation. The set contains characters on both sides of
/// Emoji_Presentation, such as U+2764 HEAVY BLACK HEART, which is text by
/// default, and U+231A WATCH, which is emoji by default. Most emoji are not
/// in it, since they have no text presentation to select.
pub fn has_emoji_variation_sequence(c : Char) -> Bool {
@emoji.has_emoji_variation_sequence(c)
}