0.0.2 • Published 8 years ago
@nathanfaucett/object-some v0.0.2
object-some
tests whether one element in the object pass the test implemented by the provided function.
var objectSome = require("@nathanfaucett/object-some");
objectSome({
a: "a",
b: "b",
c: "c"
},
function(value, key) {
return value === "c";
}
) === true;