@mcp-z/mcp-pdf
    Preparing search index...

    Function hasEmoji

    • Detect if text contains emoji characters that need special rendering

      Uses the industry-standard emoji-regex package to detect all valid emoji as per the Unicode Standard, including:

      • ZWJ sequences (👨‍💼, 🧘‍♂️)
      • Variation selectors (️)
      • Skin tone modifiers (🏻-🏿)
      • Flag sequences (🇺🇸)
      • Keycap sequences (0️⃣-9️⃣, #️⃣, *️⃣)
      • All other emoji per Unicode Standard

      Parameters

      • text: string

        Text to check for emoji

      Returns boolean

      True if text contains emoji