WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath\Extension

NodeExtension::hasFlag() public WC 1.0

{} It's a method of the class: NodeExtension{}

No Hooks.

Return

true|false.

Usage

$NodeExtension = new NodeExtension();
$NodeExtension->hasFlag( $flag );
$flag(int) (required)
-

Code of NodeExtension::hasFlag() WC 5.4.1

<?php
public function hasFlag($flag)
{
    return (bool) ($this->flags & $flag);
}