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

Function isLogicalOperator

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

Source from the content-addressed store, hash-verified

59 return NegativeOperatorList.includes(op as NegativeOperator);
60};
61export const isLogicalOperator = (op: Operator): op is LogicalOperator => {
62 return LogicalOperatorList.includes(op as LogicalOperator);
63};
64export const isEqualityOperator = (op: Operator): op is EqualityOperator => {
65 return EqualityOperatorList.includes(op as EqualityOperator);
66};

Callers 1

dfsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected