Determine if the input object has properties other than the provided knownProperties.
input
knownProperties
hasAdditionalProperties({ a: 1, b: 2 }, ['a']); // truehasAdditionalProperties({ a: 1 }, ['a']); // false Copy
hasAdditionalProperties({ a: 1, b: 2 }, ['a']); // truehasAdditionalProperties({ a: 1 }, ['a']); // false
Determine if the
inputobject has properties other than the providedknownProperties.