Saxonberg Server API
    Preparing search index...

    Function nameMatchesMention

    • Match a single Stuff's display name against a mention word. Case-insensitive on the head-word — "@bobalu" matches "Bobalu", "Bobalu Smallberries", and "Bobalu the Brave". Returns true on any match; ties (multiple candidates matching the same word) are left to the caller, which picks first-match-wins.

      Parameters

      • displayName: string
      • word: string

      Returns boolean