Searched refs:toBool (Results 1 – 3 of 3) sorted by relevance
43 return Util::toBool($value[0] == 'number');53 return Util::toBool($value[0] == 'string');63 return Util::toBool(Color::coerceColor($value));73 return Util::toBool($value[0] == 'keyword');83 return Util::toBool($value[0] == 'function' && $value[1] == 'url');93 return Util::toBool($value[0] == 'number' && $value[2] == 'px');103 return Util::toBool($value[0] == 'number' && $value[2] == 'em');113 return Util::toBool($value[0] == 'number' && $value[2] == 'rem');123 return Util::toBool($value[0] == 'number' && $value[2] == '%');136 return Util::toBool(
40 public static function toBool($a): array function in LesserPHP\\Utils\\Util
1472 return Util::toBool($left == Constants::TRUE && $right == Constants::TRUE);1476 return Util::toBool($this->eq($left, $right));1601 return Util::toBool($left[1] < $right[1]);1603 return Util::toBool($left[1] > $right[1]);1605 return Util::toBool($left[1] >= $right[1]);1607 return Util::toBool($left[1] <= $right[1]);