code: function all(func) {
          return function() {
              var params = getParams(arguments);
              var length = params.length;
              for (var i = 0; i < length; i++) {
                  if (!func.call(null, params[i])) {
                      return false;
                  }
              }
              return true;
          };
      }
docs: helper function which call predicate function per parameter and return true if all pass