Closed postatum closed 7 years ago
Should fix #218
Currently check if (passedArg && matchArg.variadic === true) fails when first variadic argument value is 0 (zero), because it has falsy value and boolean check of passedArg fails.
if (passedArg && matchArg.variadic === true)
0
passedArg
Looks good, thanks. :+1:
Should fix #218
Currently check
if (passedArg && matchArg.variadic === true)
fails when first variadic argument value is0
(zero), because it has falsy value and boolean check ofpassedArg
fails.