(params: Record<string, unknown>, key: string)
| 182 | } |
| 183 | |
| 184 | function readIntParam(params: Record<string, unknown>, key: string): number | undefined { |
| 185 | const value = params[key]; |
| 186 | return Number.isInteger(value) ? Number(value) : undefined; |
| 187 | } |
| 188 | |
| 189 | function readBooleanParam(params: Record<string, unknown>, key: string): boolean | undefined { |
| 190 | const value = params[key]; |
no outgoing calls
no test coverage detected