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

Method is_int

crates/gitql-core/src/values/base.rs:359–361  ·  view source on GitHub ↗

Return true if this value is [`IntValue`]

(&self)

Source from the content-addressed store, hash-verified

357
358 /// Return true if this value is [`IntValue`]
359 pub fn is_int(&self) -> bool {
360 self.as_any().downcast_ref::<IntValue>().is_some()
361 }
362
363 /// Return List of [`i64`] represent the inner value of [`IntValue`]
364 /// or None if this type it's called from wrong [`Value`]

Callers 9

cast_opMethod · 0.45
is_numberMethod · 0.45
cast_opMethod · 0.45
group_eq_opMethod · 0.45
group_bang_eq_opMethod · 0.45
group_gt_opMethod · 0.45
group_gte_opMethod · 0.45
group_lt_opMethod · 0.45
group_lte_opMethod · 0.45

Calls 1

as_anyMethod · 0.45

Tested by

no test coverage detected