Skip to main content
Module

x/rambda/source/none.js

Faster and smaller alternative to Ramda
Latest
File
export function none(predicate, list){ if (arguments.length === 1) return _list => none(predicate, _list)
for (let i = 0; i < list.length; i++){ if (predicate(list[ i ])) return false }
return true}