PageComparison::matches()
Given a Selectors object or a selector string, return whether this Page matches it
Usage
// basic usage
$bool = $pageComparison->matches(Page $page, $s);
// usage with all arguments
$bool = $pageComparison->matches(Page $page, $s, array $options = []);PageComparison methods and properties
API reference based on ProcessWire core version 3.0.255