(rawValue: string)
| 1 | export function optionalString(rawValue: string): string | undefined { |
| 2 | if (rawValue.length === 0) { |
| 3 | return undefined; |
| 4 | } |
| 5 | |
| 6 | return rawValue; |
| 7 | } |
| 8 | |
| 9 | export function optionalBoolean(argumentName: string, rawValue: string): boolean | undefined { |
| 10 | if (rawValue.length === 0) { |
no outgoing calls
no test coverage detected