Function getRootTag

  • Returns the root tag of an event.

    Parameters

    • event: NDKEvent

      The event to get the root tag from

    • OptionalsearchTag: string

    Returns NDKTag | undefined

    The root tag or undefined if the event does not have a root tag