MCPcopy
hub / github.com/FlowiseAI/Flowise / isParameterEnabled

Function isParameterEnabled

packages/server/src/utils/index.ts:1099–1103  ·  view source on GitHub ↗
(nodeType: string, paramName: string)

Source from the content-addressed store, hash-verified

1097 const types = 'inputs'
1098
1099 const isParameterEnabled = (nodeType: string, paramName: string): boolean => {
1100 if (!nodeOverrides[nodeType]) return false
1101 const parameter = nodeOverrides[nodeType].find((param: any) => param.name === paramName)
1102 return parameter?.enabled ?? false
1103 }
1104
1105 const getParamValues = (inputsObj: ICommonObject) => {
1106 for (const config in overrideConfig) {

Callers 1

getParamValuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected