MCPcopy Create free account
hub / github.com/PoiScript/orgize / is_range

Method is_range

src/ast/timestamp.rs:79–85  ·  view source on GitHub ↗

Returns `true` if this timestamp has a range ```rust use orgize::{Org, ast::Timestamp}; let ts = Org::parse("[2003-09-16 Tue 09:39-10:39]").first_node:: ().unwrap(); assert!(ts.is_range()); let ts = Org::parse("[2003-09-16 Tue 09:39]--[2003-09-16 Tue 10:39]").first_node:: ().unwrap(); assert!(ts.is_range()); let ts = Org::parse("[2003-09-16]--[2003-09-16]").first_node::<Times

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

filter_tokenFunction · 0.85

Tested by

no test coverage detected