You are here

function rules_condition_check_boolean in Rules 6

Condition implementation: Boolean check.

Related topics

File

rules/modules/rules.rules.inc, line 198
rules integration for the rules module

Code

function rules_condition_check_boolean($boolean) {
  return (bool) $boolean;
}