( value: Record<string, unknown>, key: string, next: unknown, )
| 179 | /** Apply a child field's emitted value to its object parent: the REMOVE sentinel |
| 180 | * deletes the key, anything else sets it. */ |
| 181 | const applyChild = ( |
| 182 | value: Record<string, unknown>, |
| 183 | key: string, |
| 184 | next: unknown, |
| 185 | ): Record<string, unknown> => |
| 186 | next === REMOVE ? removeProperty(value, key) : setProperty(value, key, next); |
| 187 | |
| 188 | /** Coerce a number-input string to a JSON number, or `undefined` if not a finite |
| 189 | * number (caller keeps last-valid + marks invalid). */ |
no test coverage detected