MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / isempty

Function isempty

crates/gitql-std/src/range/mod.rs:87–92  ·  view source on GitHub ↗
(inputs: &[Box<dyn Value>])

Source from the content-addressed store, hash-verified

85}
86
87pub fn isempty(inputs: &[Box<dyn Value>]) -> Box<dyn Value> {
88 let range = inputs[0].as_range().unwrap();
89 Box::new(BoolValue {
90 value: range.0.equals(&range.1),
91 })
92}

Callers

nothing calls this directly

Calls 2

as_rangeMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…