(result: D1Result | undefined)
| 71 | */ |
| 72 | const rowsOf = <T>(result: D1Result | undefined): T[] => (result?.results ?? []) as unknown as T[]; |
| 73 | const firstOf = <T>(result: D1Result | undefined): T | undefined => rowsOf<T>(result)[0]; |
| 74 | |
| 75 | // --------------------------------------------------------------------------- |
| 76 | // Days |
no test coverage detected