Determine if input is an object and directly has the provided properties.
input
isAnyObjectWithOwn({ a: 1 }, ['a']); // trueisAnyObjectWithOwn(Object.create({ a: 1 }), ['a']); // false Copy
isAnyObjectWithOwn({ a: 1 }, ['a']); // trueisAnyObjectWithOwn(Object.create({ a: 1 }), ['a']); // false
Determine if
inputis an object and directly has the provided properties.