WordPress at a glance
function is not described

Symfony\Component\CssSelector\Node

ElementNode::getSpecificity() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

null. Nothing.

Usage

$ElementNode = new ElementNode();
$ElementNode->getSpecificity();

Code of ElementNode::getSpecificity() WC 5.4.1

<?php
public function getSpecificity()
{
    return new Specificity(0, 0, $this->element ? 1 : 0);
}