MCPcopy
hub / github.com/lowlighter/metrics / argDefined

Function argDefined

source/plugins/community/splatoon/s3si/index.ts:820–822  ·  view source on GitHub ↗
(key, arg)

Source from the content-addressed store, hash-verified

818 _: []
819 };
820 function argDefined(key, arg) {
821 return flags.allBools && /^--[^=]+$/.test(arg) || get(flags.bools, key) || !!get(flags.strings, key) || !!get(aliases, key);
822 }
823 function setKey(obj, name, value, collect = true) {
824 let o = obj;
825 const keys = name.split(".");

Callers 1

setArgFunction · 0.85

Calls 1

getFunction · 0.70

Tested by

no test coverage detected