1
0
Fork 0
forked from 0x2620/oxjs

misc. minor changes and documentation updates

This commit is contained in:
rolux 2012-04-08 20:22:27 +02:00
commit abfea74565
8 changed files with 102 additions and 30 deletions

View file

@ -597,6 +597,8 @@ Ox.some <f> Tests if one or more elements of a collection satisfy a given condit
true
> Ox.some("foo", function(v) { return v == 'f'; })
true
> Ox.some([false, 0, null, '', void 0])
false
@*/
Ox.some = function(obj, fn) {
return Ox.filter(Ox.values(obj), fn || function(v) {