(val: T | T[])
| 14 | ]) |
| 15 | |
| 16 | const toArray = <T>(val: T | T[]): T[] => (Array.isArray(val) ? val : [val]) |
| 17 | |
| 18 | // Check if args[0] matches a known subcommand (disambiguates wrapper commands |
| 19 | // that also have subcommands, e.g. the git spec has isCommand args for aliases). |
no outgoing calls
no test coverage detected