Leafo\ScssPhp\Compiler::libIf PHP Method

libIf() protected method

protected libIf ( $args )
    protected function libIf($args)
    {
        list($cond, $t, $f) = $args;
        if (!$this->isTruthy($this->reduce($cond, true))) {
            return $this->reduce($f, true);
        }
        return $this->reduce($t, true);
    }
Compiler