MCPcopy Create free account
hub / github.com/bytebase/bytebase / setNumberValue

Function setNumberValue

frontend/src/react/components/ExprEditor.tsx:1075–1080  ·  view source on GitHub ↗
(v: number)

Source from the content-addressed store, hash-verified

1073 });
1074 };
1075 const setNumberValue = (v: number) => {
1076 doUpdate((group) => {
1077 const cond = group.args[operandIndex] as ConditionExpr;
1078 (cond.args as unknown[])[1] = v;
1079 });
1080 };
1081 const setArrayValue = (v: string[]) => {
1082 doUpdate((group) => {
1083 const cond = group.args[operandIndex] as ConditionExpr;

Callers 1

ValueInputFunction · 0.85

Calls 1

doUpdateFunction · 0.85

Tested by

no test coverage detected