Automattic\WooCommerce\Vendor\Sabberworm\CSS\Value

Size::isRelativepublicWC 1.0

Method of the class: Size{}

No Hooks.

Returns

true|false.

Usage

$Size = new Size();
$Size->isRelative();

Size::isRelative() code WC 10.4.3

public function isRelative()
{
    if (in_array($this->sUnit, self::RELATIVE_SIZE_UNITS, true)) {
        return true;
    }
    if ($this->sUnit === null && $this->fSize != 0) {
        return true;
    }
    return false;
}