src/Invoice/Completor.php
protected function is0VatRate($vatRate)
    {
        if (is_array($vatRate) && isset($vatRate)) {
            $vatRate = isset($vatRate[Tag::VatRate]) ? $vatRate[Tag::VatRate] : null;
        }
        return isset($vatRate) && (Number::isZero($vatRate) || Number::floatsAreEqual($vatRate, -1.0));
    }
protected function is0VatRate($vatRate)
    {
        if (is_array($vatRate) && isset($vatRate)) {
            $vatRate = isset($vatRate[Tag::VatRate]) ? $vatRate[Tag::VatRate] : null;
        }
        return isset($vatRate) && (Number::isZero($vatRate) || Number::floatsAreEqual($vatRate, -1.0));
    }
protected function is0VatRate ( $ vatRate ) { if ( is_array ( $ vatRate ) && isset ( $ vatRate ) ) { $ vatRate = isset ( $ vatRate [ Tag :: VatRate ] ) ? $ vatRate [ Tag :: VatRate ] : null ; } return isset ( $ vatRate ) && ( Number :: isZero ( $ vatRate ) || Number :: floatsAreEqual ( $ vatRate , - 1.0 ) ) ; }
Returns whether the vat rate is a 0 vat rate.

@param int|array $vatRate
An integer (or numeric string), an array possibly containing an entry
with key Tag::VatRate entry

@return bool
True if the vat rate is a 0 vat rate, false otherwise.
Returns whether the vat rate is a 0 vat rate .