Documentation
    Preparing search index...

    Function getUrlParam

    • Returns the value of the param with the given name (or array of possible names) in the current (or optionally the given) URL.

      Type Parameters

      • T = string

      Parameters

      • paramName: string | string[]
      • Optionalurl: string

      Returns T | null

      null if not in browser, invalid URL, or unable to find param.