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

Function validateConditionGroup

frontend/src/plugins/cel/logic/validate.ts:71–75  ·  view source on GitHub ↗
(group: ConditionGroupExpr)

Source from the content-addressed store, hash-verified

69 return false;
70 };
71 const validateConditionGroup = (group: ConditionGroupExpr): boolean => {
72 const { args } = group;
73 if (args.length === 0) return false;
74 return args.every(validate);
75 };
76 const validateRawString = (rawString: RawStringExpr): boolean => {
77 return Boolean(rawString.content);
78 };

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected