(value: unknown)
| 3 | export type ExclusiveParameterGroup = readonly string[]; |
| 4 | |
| 5 | export function hasConcreteSessionDefaultValue(value: unknown): boolean { |
| 6 | if (value === null || value === undefined) { |
| 7 | return false; |
| 8 | } |
| 9 | |
| 10 | if (typeof value === 'string') { |
| 11 | return value.trim().length > 0; |
| 12 | } |
| 13 | |
| 14 | return true; |
| 15 | } |
| 16 | |
| 17 | export function pickSessionDefaultsForKeys( |
| 18 | keys: Iterable<string>, |
no outgoing calls
no test coverage detected