Sha256: e33f385274c8abd6287028429954740f55241c859371c064fe0c3b01e9b23579

Contents?: true

Size: 343 Bytes

Versions: 58

Compression:

Stored size: 343 Bytes

Contents

    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.test && matcher.test(s)) return true;
        if (matcher && matcher.toLowerCase() === down) return true;
      }
    }

Version data entries

58 entries across 58 versions & 4 rubygems

Version Path
ela-4.1.6 node_modules/argparse/node_modules/underscore.string/foo.js
ela-4.1.5 node_modules/argparse/node_modules/underscore.string/foo.js
ela-4.1.4 node_modules/argparse/node_modules/underscore.string/foo.js
ela-4.1.3 node_modules/argparse/node_modules/underscore.string/foo.js
ela-4.1.2 node_modules/argparse/node_modules/underscore.string/foo.js
ela-4.1.1 node_modules/argparse/node_modules/underscore.string/foo.js
ela-4.1.0 node_modules/argparse/node_modules/underscore.string/foo.js
ela-4.0.0 node_modules/argparse/node_modules/underscore.string/foo.js
opal-0.10.6 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/foo.js
opal-0.10.6.beta stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.4.3 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.4.2 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.4.0 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.3.1 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.3.0 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.2.0 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.1.1 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.1.0 node_modules/argparse/node_modules/underscore.string/foo.js
ela-3.0.0 node_modules/argparse/node_modules/underscore.string/foo.js
ela-2.0.0 node_modules/argparse/node_modules/underscore.string/foo.js