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

Method is_float

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

Return true if this value is [`FloatValue`]

(&self)

Source from the content-addressed store, hash-verified

371
372 /// Return true if this value is [`FloatValue`]
373 pub fn is_float(&self) -> bool {
374 self.as_any().downcast_ref::<FloatValue>().is_some()
375 }
376
377 /// Return List of [`f64`] represent the inner value of [`FloatValue`]
378 /// or None if this type it's called from wrong [`Value`]

Callers 8

is_numberMethod · 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
cast_opMethod · 0.45

Calls 1

as_anyMethod · 0.45

Tested by

no test coverage detected