Automattic\WooCommerce\Vendor\Pelago\Emogrifier\Css

StyleRule::hasContainingAtRulepublicWC 1.0

Checks whether the containing at-rule is non-empty and has any non-whitespace characters.

Method of the class: StyleRule{}

No Hooks.

Returns

null. Nothing (null).

Usage

$StyleRule = new StyleRule();
$StyleRule->hasContainingAtRule(): bool;

StyleRule::hasContainingAtRule() code WC 10.4.3

public function hasContainingAtRule(): bool
{
    return $this->getContainingAtRule() !== '';
}