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

Method checkbox

src/ast/list.rs:101–109  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::ListItem}; let item = Org::parse("- [-] item 1").first_node:: ().unwrap(); assert_eq!(item.checkbox().unwrap(), "-"); let item = Org::parse("2. [X] item 2").first_node:: ().unwrap(); assert_eq!(item.checkbox().unwrap(), "X"); let item = Org::parse("3) [ ] item 3").first_node:: ().unwrap(); assert_eq!(item.checkbox().unwrap(), " "); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

filter_tokenFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected