Skip to content

add is.keyed #8

@mrDarcyMurphy

Description

@mrDarcyMurphy

Method would check that an object contains all the keys that the user is concerned with.

var obj = {
  foo: 'bar',
  fizz: 'buzz'
}
is.keyed(obj, ['foo', 'fizz']) // true
is.keyed(obj, ['foo', 'fizz', 'fart']) // false

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions