MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / is_comparison

Method is_comparison

nodedb/src/control/promql/ast.rs:143–148  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

141 }
142
143 pub fn is_comparison(&self) -> bool {
144 matches!(
145 self,
146 Self::Eq | Self::Neq | Self::Lt | Self::Gt | Self::Lte | Self::Gte
147 )
148 }
149
150 pub fn is_set_op(&self) -> bool {
151 matches!(self, Self::And | Self::Or | Self::Unless)

Callers 2

parse_exprMethod · 0.80
eval_vector_binopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected