Returns a validator that asserts that the object's own enumerable properties has keys and
values that match their respective validators.
Prototype members are not included.
Numeric keys are validated as strings. For example the object { [0]: 1 } will be passed
to the key validator as '0'.
Returns a validator that asserts that the object's own enumerable properties has keys and values that match their respective validators.
Prototype members are not included. Numeric keys are validated as strings. For example the object
{ [0]: 1 }will be passed to the key validator as '0'.To assume string keys, use recordValues