MCPcopy Create free account
hub / github.com/solana-program/system / popArgument

Function popArgument

scripts/utils.mjs:104–110  ·  view source on GitHub ↗
(args, arg)

Source from the content-addressed store, hash-verified

102}
103
104export 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
112export function partitionArguments(args, delimiter) {
113 const index = args.indexOf(delimiter);

Callers 4

format-rust.mjsFile · 0.90
format.mjsFile · 0.90
lint-clippy.mjsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…