r.all(r.F, {}) => true, the all function, why not add type check or return false when param not a list
xuexianzhishang opened this issue · comments
xuexianzhishang commented
r.all(r.F, {}) => true if you past a param that is not a list, return false may be better?
the implement of all,
`_dispatchable(['all'], _xall, function all(fn, list) {
var idx = 0;
while (idx < list.length) {`