MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / shouldUseVariableSetter

Function shouldUseVariableSetter

packages/utils/src/misc.ts:129–135  ·  view source on GitHub ↗
(
  propSupportVariable: boolean | undefined,
  globalSupportVariable: boolean,
)

Source from the content-addressed store, hash-verified

127 * @returns
128 */
129export function shouldUseVariableSetter(
130 propSupportVariable: boolean | undefined,
131 globalSupportVariable: boolean,
132) {
133 if (propSupportVariable === false) return false;
134 return propSupportVariable || globalSupportVariable;
135}

Callers 2

misc.test.tsFile · 0.90
setterInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…