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

Function wrapCallExpr

frontend/src/plugins/cel/logic/build.ts:201–217  ·  view source on GitHub ↗
(
  operator: string,
  args: CELExpr[],
  target?: CELExpr
)

Source from the content-addressed store, hash-verified

199};
200
201const wrapCallExpr = (
202 operator: string,
203 args: CELExpr[],
204 target?: CELExpr
205): CELExpr => {
206 const object = create(Expr_CallSchema, {
207 function: operator,
208 args,
209 });
210 if (target) {
211 object.target = target;
212 }
213 return wrapCELExpr({
214 case: "callExpr",
215 value: object,
216 });
217};

Callers 2

convertConditionFunction · 0.85
convertGroupFunction · 0.85

Calls 1

wrapCELExprFunction · 0.85

Tested by

no test coverage detected