( record: Record<string, unknown> | undefined, key: string )
| 1083 | } |
| 1084 | |
| 1085 | function getStringProperty( |
| 1086 | record: Record<string, unknown> | undefined, |
| 1087 | key: string |
| 1088 | ): string | undefined { |
| 1089 | const value = record?.[key] |
| 1090 | return typeof value === 'string' ? value : undefined |
| 1091 | } |
| 1092 | |
| 1093 | function getNumberProperty( |
| 1094 | record: Record<string, unknown> | undefined, |
no outgoing calls
no test coverage detected