Skip to content

nathanfaucett/js-object-some

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

object some for the browser and node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published