docs: function toStaticObjectOrArray(fnObject, fnArray) {
      function staticWrapper() {
        var args = [].slice.call(arguments);
        var self = args.shift();
        if (Array.isArray(self)) {
            return fnArray.apply(self, args);
        } else {
            return fnObject.apply(self, args);
        }
      }
  
      return staticWrapper;
    }