MCPcopy
hub / github.com/OpenWebGAL/WebGAL / getStringArgByKey

Function getStringArgByKey

packages/webgal/src/Core/util/getSentenceArg.ts:22–25  ·  view source on GitHub ↗
(sentence: ISentence, argKey: string)

Source from the content-addressed store, hash-verified

20}
21
22export function getStringArgByKey(sentence: ISentence, argKey: string): string | null {
23 const argValue = getSentenceArgByKey(sentence, argKey);
24 return toSafeString(argValue);
25}

Callers 15

scriptExecutorFunction · 0.90
setTempAnimationFunction · 0.90
setAnimationFunction · 0.90
callSteamFunction · 0.90
unlockCgFunction · 0.90
changeFigureFunction · 0.90
sayFunction · 0.90
unlockBgmFunction · 0.90
setTransitionFunction · 0.90
bgmFunction · 0.90
playEffectFunction · 0.90
setTransformFunction · 0.90

Calls 2

toSafeStringFunction · 0.90
getSentenceArgByKeyFunction · 0.85

Tested by

no test coverage detected