pai
    Preparing search index...

    Function openInBrowser

    • Opens a web address in the default browser: open on macOS, xdg-open on Linux, rundll32 on Windows. Only https addresses are opened.

      Parameters

      • url: string

      Returns boolean

      False when the address was refused or the browser could not be started. It never throws.