Function getParameters

  • Returns an object mapping URL parameter names to parameter values. If a given parameter appears more than once on the query string, the value in the map will be an array instead of a single value. Use LABKEY.Utils.isArray() to determine if the value is an array or not, or use getParameter() or getParameterArray() to retrieve a specific parameter name as a single value or array respectively.

    Parameters

    • Optional url: string

      The URL to parse. If not specified, the browser's current location will be used.

    Returns Record<string, any>

    Object of parameter names to values.

Generated using TypeDoc