Hosanna UI API v1.30.2-next
    Preparing search index...

    Function isLocalUri

    • Determines if a URI is local to the current origin or localhost.

      Parameters

      • uri: string

        The URI to check.

      Returns boolean

      True if the URI is local or relative, otherwise false.