Function: shallowEqualExcept()
API / @xmachines/play-actor / shallowEqualExcept
function shallowEqualExcept(a, b, except?): boolean;Defined in: packages/play-actor/src/context-projection.ts:58
The shallow equality of the own keys, with Object.is. It can ignore one key on
both sides.
This is the one comparison rule behind every decision of the emission dedup: the
equality of a slice, and also the emit gate of the player, which compares the
spec fields in viewSpecsEquivalent and reuses the composed state in
reuseComposedState.
Parameters
| Parameter | Type |
|---|---|
a | object |
b | object |
except? | string |
Returns
boolean