MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / optionName

Function optionName

services.ts:456–472  ·  view source on GitHub ↗
(bindArgument:boolean)

Source from the content-addressed store, hash-verified

454 ? def.mode
455 : options,
456 optionName = function node_args_optionName(bindArgument:boolean):void {
457 if (a === 0 || options[list[a]] === undefined) {
458 if (keys.indexOf(list[a]) < 0 && def[list[a]] === undefined) {
459 list.splice(a, 1);
460 len = len - 1;
461 a = a - 1;
462 }
463 return;
464 }
465 if (bindArgument === true && list[a + 1] !== undefined && list[a + 1].length > 0) {
466 list[a] = `${list[a]}:${list[a + 1]}`;
467 list.splice(a + 1, 1);
468 len = len - 1;
469 }
470 list.splice(0, 0, list[a]);
471 list.splice(a + 1, 1);
472 };
473 let split:string = "",
474 value:string = "",
475 name:string = "",

Callers 1

readOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected