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

Function validateRawString

frontend/src/plugins/cel/logic/validate.ts:76–78  ·  view source on GitHub ↗
(rawString: RawStringExpr)

Source from the content-addressed store, hash-verified

74 return args.every(validate);
75 };
76 const validateRawString = (rawString: RawStringExpr): boolean => {
77 return Boolean(rawString.content);
78 };
79 const validate = (expr: SimpleExpr): boolean => {
80 if (isConditionGroupExpr(expr)) return validateConditionGroup(expr);
81 if (isConditionExpr(expr)) return validateCondition(expr);

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected