PagePathHistory::isRootSegment()

Is/was given segment ever a root segment?

Available since version 3.0.186.

Usage

$bool = $pagePathHistory->isRootSegment(string $segment);

Arguments

NameType(s)Description
$segmentstring

Segment or path containing it (in ascii format)

Return value

bool


PagePathHistory methods and properties

API reference based on ProcessWire core version 3.0.253