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

Method has_header

src/ast/table.rs:43–50  ·  view source on GitHub ↗

Returns `true` if this table has a header A table has a header when it contains at least two row groups. ```rust use orgize::{Org, ast::OrgTable}; let org = Org::parse(r#" | a | b | |---+---| | c | d |"#); let table = org.first_node:: ().unwrap(); assert!(table.has_header()); let org = Org::parse(r#" | a | b | | 0 | 1 | |---+---| | a | w |"#); let table = org.first_node:: ().

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

eventMethod · 0.80

Calls 2

is_ruleMethod · 0.80
is_standardMethod · 0.80

Tested by

no test coverage detected