• Checks if a string could be referring to a emoji.

    Parameters

    • text: string

      Text to check.

    • emoji: Emoji

      Emoji to check.

    • caseSensitive: boolean = false

      Makes checking by name case sensitive.

    • wholeWord: boolean = false

      Makes checking by name match full word only.

    Returns boolean