var myfunc = overload([ { type: 'String', properties: 'Object', next: 'Function' }, { type: 'String', next: 'Function' }, function(type, properties, next) { ... }]);