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

Function getArrayExpressionString

frontend/src/utils/issue/cel.ts:265–270  ·  view source on GitHub ↗
(resource: string, arr: string[])

Source from the content-addressed store, hash-verified

263 }
264
265 const getArrayExpressionString = (resource: string, arr: string[]) => {
266 if (arr.length === 0) {
267 return "";
268 }
269 return `${resource} in ${JSON.stringify(arr)}`;
270 };
271
272 const getStringExpressionString = (resource: string, value: string) => {
273 if (!value) {

Callers 1

buildConditionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected