Appearance
将只支持单个参数的函数转变为可支持数组参数的函数
(...arg) => any[]
// isExist 只支持一个入参 isExist(null); // false // 支持数组入参 const isExists = iterative(isExist); isExists([null, 1, {}]); // 结果也将变为数组 [ false, true, true ]