Checks whether text is nothing but max emoji at most, which the chat
shows large, as in "🎉" or "👍👍". Emoji are counted as graphemes, so a
family or a flag counts once.
Parameters
text: string
optional
max: number = 3
Return Type
boolean
Usage
import { isEmojiOnly } from "src/utils/editor/text.ts";