(record: Record<string, unknown>, key: string)
| 150 | } |
| 151 | |
| 152 | function optionalStringParam(record: Record<string, unknown>, key: string): string | undefined { |
| 153 | const value = record[key] |
| 154 | return typeof value === "string" && value.length > 0 ? value : undefined |
| 155 | } |
| 156 | |
| 157 | function booleanParam(record: Record<string, unknown>, key: string): boolean | undefined { |
| 158 | const value = record[key] |
no outgoing calls
no test coverage detected