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

Method is_date

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

Return true if this value is [`DateValue`]

(&self)

Source from the content-addressed store, hash-verified

404
405 /// Return true if this value is [`DateValue`]
406 pub fn is_date(&self) -> bool {
407 self.as_any().downcast_ref::<DateValue>().is_some()
408 }
409
410 /// Return List of [`i64`] represent the inner value of [`DateValue`]
411 /// or None if this type it's called from wrong [`Value`]

Callers 8

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

Calls 1

as_anyMethod · 0.45

Tested by

no test coverage detected