Skip to main content

Function: sameApplications()

sameApplications(a, b): boolean

Defined in: src/lib/reconcile/index.ts:104

True when two allocations put the same cents on the same invoices, ignoring order. Confirm compares the allocation the owner reviewed against the one it recomputes at submit time: the pool can move in between (a manual payment, a sibling check confirmed), and applying a set the owner never saw is permanent — there is no reversal path.

Parameters

a

readonly AppliedAmount[]

b

readonly AppliedAmount[]

Returns

boolean