Skip to content

Function: sameViewInputs()

API / @xmachines/play-view / index / sameViewInputs

function sameViewInputs(a, b): boolean;

Defined in: packages/play-view/src/failure-latch.ts:45

Answers whether two sets of inputs are the SAME attempt.

Identity, and not a deep compare: a provider holds the references that it rendered, and a new spec object is a new attempt even when it holds equal fields.

Parameters

ParameterType
aViewInputs
bViewInputs

Returns

boolean