It can automatically validate, upcast and enumerate possible valid arguments to a function that it wraps. const {xedargWrap} = require('xedarg'); function func1(a ...