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

Method is_date_time

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

Return true if this value is [`DateTimeValue`]

(&self)

Source from the content-addressed store, hash-verified

432
433 /// Return true if this value is [`DateTimeValue`]
434 pub fn is_date_time(&self) -> bool {
435 self.as_any().downcast_ref::<DateTimeValue>().is_some()
436 }
437
438 /// Return List of [`i64`] represent the value of [`DateTimeValue`]
439 /// or None if this type it's called from wrong [`Value`]

Callers 7

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