@nathanfaucett/object-every

0.0.2 • Public • Published

object-every

tests whether all elements in the object pass the test implemented by the provided function.

var objectEvery = require("@nathanfaucett/object-every");


objectEvery({
        a: "a",
        b: "b",
        c: "c"
    },
    function(value, key) {
        return value === key;
    }
) === true;

Package Sidebar

Install

npm i @nathanfaucett/object-every

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • nathanfaucett