Requires keys to be present in an array or object.
Checks the array indices or the object property names as a whole for the presence of each required key, so
membership is stated the same way for either: numeric keys address array positions, string keys object properties.
Each missing key is reported under a key of its own, so a violation lands where the absent element or property would
have been.
Requires keys to be present in an array or object.
Checks the array indices or the object property names as a whole for the presence of each required key, so membership is stated the same way for either: numeric keys address array positions, string keys object properties.
Each missing key is reported under a key of its own, so a violation lands where the absent element or property would have been.