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

Method has_description

src/ast/link.rs:35–39  ·  view source on GitHub ↗

Returns `true` if link contains description ```rust use orgize::{Org, ast::Link}; let link = Org::parse("[[https://google.com]]").first_node:: ().unwrap(); assert!(!link.has_description()); let link = Org::parse("[[https://google.com][Google]]").first_node:: ().unwrap(); assert!(link.has_description()); let link = Org::parse("[[https://example.com][*abc* /abc/]]").first_node:: ().

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

is_imageMethod · 0.80
eventMethod · 0.80
eventMethod · 0.80

Calls 1

syntaxMethod · 0.45

Tested by

no test coverage detected