this uses the test method from tcompare!match.Match, but requires that only the specified fields in the pattern are present in the object.
It does still allow a field to be present in the object and not the pattern if the value is set to null or undefined.
Optional
this uses the test method from tcompare!match.Match, but requires that only the specified fields in the pattern are present in the object.
It does still allow a field to be present in the object and not the pattern if the value is set to null or undefined.