Module

x/discordeno/testss/deps.ts>assertObjectMatch

Discord API library for Deno
Go to Latest
function assertObjectMatch
import { assertObjectMatch } from "https://dotland.deno.dev/x/discordeno@13.0.0-rc45/testss/deps.ts";

Make an assertion that actual object is a subset of expected object, deeply. If not, then throw.

Parameters

actual: Record<PropertyKey, any>
expected: Record<PropertyKey, unknown>