Leafo\ScssPhp\Node\Number::offsetExists PHP Method

offsetExists() public method

public offsetExists ( $offset )
    public function offsetExists($offset)
    {
        if ($offset === -3) {
            return $this->sourceColumn !== null;
        }
        if ($offset === -2) {
            return $this->sourceLine !== null;
        }
        if ($offset === -1 || $offset === 0 || $offset === 1 || $offset === 2) {
            return true;
        }
        return false;
    }