You are here

function sassy_compass__if in Sassy 7.2

Same name and namespace in other branches
  1. 7.3 sassy_compass/sassy_compass.module \sassy_compass__if()

Defines the "if" function, used like: if(condition, if_true, if_false)

File

extensions/compass/sassy_compass.module, line 85

Code

function sassy_compass__if($condition, $if_true, $if_false) {
  return $condition ? $if_true : $if_false;
}