SassNumber::areConvertable PHP Method

areConvertable() private method

Returns a value indicating if all the units are capable of being converted
private areConvertable ( array $units ) : boolean
$units array units to test
return boolean true if all units can be converted, false if not
    private function areConvertable($units)
    {
        $convertable = array_keys(self::$unitConversion);
        foreach ($units as $unit) {
            if (!in_array($unit, $convertable)) {
                return false;
            }
        }
        return true;
    }