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

Function isStringOperator

frontend/src/plugins/cel/types/operator.ts:75–77  ·  view source on GitHub ↗
(op: Operator)

Source from the content-addressed store, hash-verified

73 return CollectionOperatorList.includes(op as CollectionOperator);
74};
75export const isStringOperator = (op: Operator): op is StringOperator => {
76 return StringOperatorList.includes(op as StringOperator);
77};
78
79// Display labels for operators that differ from their source form.
80const OPERATOR_DISPLAY: Record<string, string> = {

Callers 3

ValueInputFunction · 0.90
isStringExprFunction · 0.90
dfsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected