Chain condition functions
Opened this issue · 0 comments
nathggns commented
Add ability to chain condition functions.
Something like this
overload.add(obj, 'method', overload.or(
overload.arity(1, 2), // 1 or two parameters,
overload.type('string', 'number', 'number') // string, number, number
), function() {
// ...
});