(value: string | undefined)
| 43 | } |
| 44 | |
| 45 | export function trimRuntimeValue(value: string | undefined): string | undefined { |
| 46 | const trimmed = value?.trim(); |
| 47 | return trimmed && trimmed.length > 0 ? trimmed : undefined; |
| 48 | } |
| 49 | |
| 50 | function normalizePort(value: number | undefined): number | undefined { |
| 51 | if (!Number.isInteger(value)) return undefined; |
no outgoing calls
no test coverage detected