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

Method is_ordered

src/ast/list.rs:19–27  ·  view source on GitHub ↗

Returns `true` if this list is an ordered link ```rust use orgize::{Org, ast::List}; let list = Org::parse("+ 1").first_node:: ().unwrap(); assert!(!list.is_ordered()); let list = Org::parse("1. 1").first_node:: ().unwrap(); assert!(list.is_ordered()); let list = Org::parse("1) 1\n- 2\n3. 3").first_node:: ().unwrap(); assert!(list.is_ordered()); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

eventMethod · 0.80

Calls 3

itemsMethod · 0.80
bulletMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected