Function
isParameterEnabled
(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) { |
Tested by
no test coverage detected