emoji_modifier_extract {emoji} | R Documentation |
Extract Modifiers from Emojis
Description
Extract Modifiers from Emojis
Usage
emoji_modifier_extract(x)
Arguments
x |
Characters, vector of emojis. |
Details
This function is vectorized. See emoji_modifiers for full list of modified emojis and their unmodified state.
Value
list of character vectors.
Examples
waving_hands <- emojis$emoji[grepl("waving hand", emojis$name)]
waving_hands
emoji_modifier_extract(waving_hands)
set.seed(1234)
emoji_sample <- sample(emojis$emoji, 10)
emoji_sample
emoji_modifier_extract(emoji_sample)
[Package emoji version 15.0 Index]