spreadsheet/ruleJS.all.full.js
function boolMatch(s, matchers) {
    var i, matcher, down = s.toLowerCase();
    matchers = [].concat(matchers);
    for (i = 0; i < matchers.length; i += 1) {
      matcher = matchers[i];
      if (!matcher) continue;
      if (matcher.test && matcher.test(s)) return true;
      if (matcher.toLowerCase() === down) return true;
    }
  }
function boolMatch(s, matchers) {
    var i, matcher, down = s.toLowerCase();
    matchers = [].concat(matchers);
    for (i = 0; i < matchers.length; i += 1) {
      matcher = matchers[i];
      if (!matcher) continue;
      if (matcher.test && matcher.test(s)) return true;
      if (matcher.toLowerCase() === down) return true;
    }
  }
function boolMatch ( s , matchers ) { var i , matcher , down = s . toLowerCase ( ) ; matchers = [ ] . concat ( matchers ) ; for ( i = 0 ; i < matchers . length ; i += 1 ) { matcher = matchers [ i ] ; if ( ! matcher ) continue ; if ( matcher . test && matcher . test ( s ) ) return true ; if ( matcher . toLowerCase ( ) === down ) return true ; } }
Helper for toBoolean
Helper for toBoolean