(option: unknown)
| 18 | * while preserving `undefined` values as `undefined` instead of `false`. |
| 19 | */ |
| 20 | export function boolFlag(option: unknown): boolean | undefined { |
| 21 | if (option === undefined) return undefined |
| 22 | return bool(option) |
| 23 | } |
no test coverage detected