( value: unknown, label: string = unnamed )
| 1448 | } |
| 1449 | |
| 1450 | export const checkFunction = ( |
| 1451 | value: unknown, |
| 1452 | label: string = unnamed |
| 1453 | ): void => { |
| 1454 | if (typeof value !== "function") { |
| 1455 | throwError( |
| 1456 | writeCreationMismatchMessage(label, describeValue(value), "a function") |
| 1457 | ) |
| 1458 | } |
| 1459 | } |
| 1460 | |
| 1461 | // a value holding a cell a validator reads, set only once its site has run |
| 1462 | export const checkHeld = ( |
nothing calls this directly
no test coverage detected