(of: Facts, value: unknown)
| 661 | } |
| 662 | |
| 663 | const defaultKey = (of: Facts, value: unknown) => |
| 664 | `${wrap(of)}=${ |
| 665 | typeof value === "function" ? fnKey(value) |
| 666 | : typeof value === "string" ? `string:${JSON.stringify(value)}` |
| 667 | : typeof value === "number" && Object.is(value, -0) ? "number:-0" |
| 668 | : `${typeof value}:${String(value)}` |
| 669 | }` |
| 670 | |
| 671 | const isUnit = (node: BaseNode) => node.is("unit") |
| 672 |
no test coverage detected