You are here

private function SassIfNode::isElse in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/tree/SassIfNode.php \SassIfNode::isElse()

Returns a value indicating if this node is an "else" node.

Return value

true if this node is an "else" node, false if this node is an "if" or "else if" node

1 call to SassIfNode::isElse()
SassIfNode::parse in phpsass/tree/SassIfNode.php
Parse this node.

File

phpsass/tree/SassIfNode.php, line 92

Class

SassIfNode
SassIfNode class. Represents Sass If, Else If and Else statements. Else If and Else statement nodes are chained below the If statement node. @package PHamlP @subpackage Sass.tree

Code

private function isElse() {
  return $this->expression == '';
}