function assertObjectMatch
assertObjectMatch(): voidMake an assertion that actual object is a subset of expected object,
deeply. If not, then throw.
Examples
Example 1
Example 1
import { assertObjectMatch } from "@std/assert/assert_object_match"; assertObjectMatch({ foo: "bar" }, { foo: "bar" }); // Doesn't throw assertObjectMatch({ foo: "bar" }, { foo: "baz" }); // Throws
Parameters
Return Type
void