MCPcopy Create free account
hub / github.com/FeatureProbe/FeatureProbe / handleChangePredict

Function handleChangePredict

ui/src/pages/targeting/hooks.tsx:154–157  ·  view source on GitHub ↗
(ruleIndex: number, conditionIndex: number, value: string)

Source from the content-addressed store, hash-verified

152 };
153
154 const handleChangePredict = (ruleIndex: number, conditionIndex: number, value: string) => {
155 rules[ruleIndex].conditions[conditionIndex].leftPredicate = value;
156 saveRules([...rules]);
157 };
158
159 const handleChangeRightPredict = (ruleIndex: number, conditionIndex: number, value: string) => {
160 rules[ruleIndex].conditions[conditionIndex].rightPredicate = value;

Callers 1

RuleContentFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected