Function
rekeyed
(
parts: ValidatorParts,
holes: readonly unknown[]
)
Source from the content-addressed store, hash-verified
| 586 | |
| 587 | // a folded factory's validator, interned by the holes received |
| 588 | export const rekeyed = ( |
| 589 | parts: ValidatorParts, |
| 590 | holes: readonly unknown[] |
| 591 | ): Validator => { |
| 592 | let copies = copiesByParts.get(parts) |
| 593 | if (!copies) copiesByParts.set(parts, (copies = new InternTable())) |
| 594 | return intern(copies, holes, () => createValidator(...parts, holes)) |
| 595 | } |
| 596 | |
| 597 | type TypeOnlyMember = |
| 598 | | typeof inferred |
Callers
nothing calls this directly
Tested by
no test coverage detected