public function SassLiteral::op_not in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/literals/SassLiteral.php \SassLiteral::op_not()
* The SassScript not operation. *
Return value
SassBoolean SassBoolean object with the value true if the * boolean of this is false or false if it is true
1 method overrides SassLiteral::op_not()
- SassColour::op_not in phamlp/
sass/ script/ literals/ SassColour.php - * Colour bitwise NOT *
File
- phamlp/
sass/ script/ literals/ SassLiteral.php, line 242
Class
- SassLiteral
- SassLiteral class. Base class for all Sass literals. Sass data types are extended from this class and these override the operation methods to provide the appropriate semantics. @package PHamlP @subpackage Sass.script.literals
Code
public function op_not() {
return new SassBoolean(!$this
->toBoolean());
}