Checks whether the first location is a base of the second location.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean url.isbaseof(locator location1, locator location2)

Parameters

Name Data Type Description
location1 Locator The location1.
location2 Locator The location2.

Return Value

Data Type Description
Boolean True if [is base of] [the specified context]; otherwise, false.

Expand image Example

SXML