Test an object to be not empty.
Invert the following validators.
Test if an Object is a plain object.
Test an object to be deeply equal to the provided object.
Expected object to match.
Test all the values in the object deeply to match the provided predicate.
The predicate that should be applied against every value in the object.
Test an object to include any of the provided keys. You can use dot-notation in a key to access nested properties.
The keys that could be a key in the object.
Test an object to include all the provided keys. You can use dot-notation in a key to access nested properties.
The keys that should be present in the object.
Test an object to be of a specific instance type.
The expected instance type of the object.
Test if the value matches a custom validation function. The validation function should return true
if the value
passes the function. If the function either returns false
or a string, the function fails and the string will be
used as error message.
Validation function.
Test all the values in the object to match the provided predicate.
The predicate that should be applied against every value in the object.
Test an object to be empty.