WordPress at a glance
function is not described

Pelago\Emogrifier\Utilities

CssConcatenator::hasEquivalentSelectors() private WC 1.0

Tests if two sets of selectors are equivalent (i.e. the same selectors, possibly in a different order).

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

No Hooks.

Return

true|false.

Usage

$result = CssConcatenator::hasEquivalentSelectors( $selectorsAsKeys1, $selectorsAsKeys2 );
$selectorsAsKeys1(array) (required)
Array in which the selectors are the keys, and the values are of no significance.
$selectorsAsKeys2(array) (required)
Another such array.

Code of CssConcatenator::hasEquivalentSelectors() WC 5.4.1

<?php
private static function hasEquivalentSelectors(array $selectorsAsKeys1, array $selectorsAsKeys2)
{
    return \count($selectorsAsKeys1) === \count($selectorsAsKeys2)
        && \count($selectorsAsKeys1) === \count($selectorsAsKeys1 + $selectorsAsKeys2);
}