Function getParameterArray

  • Gets a URL parameter by name. This method will always return an array of values, one for each instance of the parameter name in the query string. If the parameter name appears only once this method will return a one-element array.

    Parameters

    • parameterName: string

      The name of the URL parameter.

    Returns string[]

    An Array of parameter values.