Checks whether a querystring parameter exists.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean url.parameter.exists(locator location, string name)

Parameters

Name Data Type Description
location Locator The location url.
name String The name of the query parameter.

Return Value

Data Type Description
Boolean True if the parameter exists; otherwise, false.

Expand image Example

SXML