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