(args, arg)
| 102 | } |
| 103 | |
| 104 | export function popArgument(args, arg) { |
| 105 | const index = args.indexOf(arg); |
| 106 | if (index >= 0) { |
| 107 | args.splice(index, 1); |
| 108 | } |
| 109 | return index >= 0; |
| 110 | } |
| 111 | |
| 112 | export function partitionArguments(args, delimiter) { |
| 113 | const index = args.indexOf(delimiter); |
no outgoing calls
no test coverage detected
searching dependent graphs…