Determine if input is an object and has the provided properties.
input
isAnyObjectWith({ a: 1, b: 2 }, ['a', 'b']); // trueisAnyObjectWith({ a: 1 }, ['a', 'b']); // false Copy
isAnyObjectWith({ a: 1, b: 2 }, ['a', 'b']); // trueisAnyObjectWith({ a: 1 }, ['a', 'b']); // false
Determine if
inputis an object and has the provided properties.