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