ramda / ramda

:ram: Practical functional Javascript

Home Page:https://ramdajs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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) {`