Gun-Vue docs v0.21.4 • Docs
Gun-Vue docs v0.21.4 / Mates / getFirstEmoji
Function: getFirstEmoji()
getFirstEmoji(
text
,def
?):string
Break the string into graphemes and return the first one if it's an emoji
Parameters
• text: string
• def?: string
= "👋"
Returns
string