MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / getLoonArgumentKeys

Function getLoonArgumentKeys

Rewrite-Parser.beta.js:2217–2221  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

2215}
2216
2217function getLoonArgumentKeys(str) {
2218 str = stripWrapQuote(str)
2219 if (!isLoonArgumentList(str)) return []
2220 return [...str.matchAll(/\{([^{}]+)\}/g)].map(item => item[1].trim()).filter(Boolean)
2221}
2222
2223function getSurgeTemplateArgumentKeys(str) {
2224 str = stripWrapQuote(str)

Callers 1

normalizeScriptArgumentFunction · 0.85

Calls 2

stripWrapQuoteFunction · 0.85
isLoonArgumentListFunction · 0.85

Tested by

no test coverage detected