MCPcopy Index your code
hub / github.com/PoiScript/orgize / is_commented

Method is_commented

src/ast/headline.rs:152–166  ·  view source on GitHub ↗

Return `true` if this headline contains a COMMENT keyword ```rust use orgize::{Org, ast::Headline}; let hdl = Org::parse("* COMMENT").first_node:: ().unwrap(); assert!(hdl.is_commented()); let hdl = Org::parse("* COMMENT hello").first_node:: ().unwrap(); assert!(hdl.is_commented()); let hdl = Org::parse("* hello").first_node:: ().unwrap(); assert!(!hdl.is_commented());

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

lenMethod · 0.80
nextMethod · 0.45
titleMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected