Skip to content

Gun-Vue docs v0.21.4Docs


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

Defined in

src/mate/useMates.js:65

MIT