(depth: number, copied = 0)
| 545 | const maxDepth = 16 |
| 546 | |
| 547 | export const heldAs = (depth: number, copied = 0): Held => ({ |
| 548 | depth: depth > maxDepth ? Infinity : depth, |
| 549 | copied: Math.min(copied, maxDepth) |
| 550 | }) |
| 551 | |
| 552 | // what a value holds of another: e.g. `o.a` its "element", `list.sort()` |
| 553 | // "self", `list.slice()` a "copy", `Object.entries(o)` "pairs" made for its |
no outgoing calls
no test coverage detected