waygraph / modVerifyAll
Function: modVerifyAll()
modVerifyAll<
In,Out>(block,patches):DefinedBlock<In,Out>
Defined in: src/engine/block/block.ts:489
modVerify, but for several named checks in one call - a v2 variant that differs in five ways from v1 shouldn't need five nested modVerify(modVerify( modVerify(...))) calls to track by eye. patches keys are plain strings (a Trait's name, not a MemKey instance), so an ordinary object literal is fine here - unlike MemPage, there's no identity-collision reason to need [name, check] pairs. Applies each patch in turn via modVerify, so the same fail-loud-on-unknown-name behavior holds for every entry.
Type Parameters
In
In extends Checkpoint<string>
Out
Out extends Checkpoint<string>
Parameters
block
Block<In, Out>
patches
Record<string, Trait["check"] | Trait>
Returns
DefinedBlock<In, Out>