Leafo\ScssPhp\Compiler::libAlpha PHP Method

libAlpha() protected method

protected libAlpha ( $args )
    protected function libAlpha($args)
    {
        if ($color = $this->coerceColor($args[0])) {
            return isset($color[4]) ? $color[4] : 1;
        }
        // this might be the IE function, so return value unchanged
        return null;
    }
Compiler