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

Function isNegativeOperator

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

Source from the content-addressed store, hash-verified

56export type Operator = LogicalOperator | NegativeOperator | ConditionOperator;
57
58export const isNegativeOperator = (op: Operator): op is NegativeOperator => {
59 return NegativeOperatorList.includes(op as NegativeOperator);
60};
61export const isLogicalOperator = (op: Operator): op is LogicalOperator => {
62 return LogicalOperatorList.includes(op as LogicalOperator);
63};

Callers 1

dfsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected