• Gets a URL parameter by name. Note that if the given parameter name is present more than once in the query string, the returned value will be the first occurrence of that parameter name. To get all instances of the parameter, use getParameterArray().

    Parameters

    • parameterName: string

      The name of the URL parameter.

    Returns any

    The value of the named parameter, or undefined of the parameter is not present.