FdeepMatch
Bun

function

deepMatch

function deepMatch(
subset: unknown,
a: unknown
): boolean;

Returns true if all properties in the subset exist in the other and have equal values.

This also powers expect().toMatchObject in bun:test