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

Method is_image

src/ast/link.rs:97–107  ·  view source on GitHub ↗

Returns `true` if link is an image link ```rust use orgize::{Org, ast::Link}; let link = Org::parse("[[https://google.com]]").first_node:: ().unwrap(); assert!(!link.is_image()); let link = Org::parse("[[file:/home/dominik/images/jupiter.jpg]]").first_node:: ().unwrap(); assert!(link.is_image()); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

eventMethod · 0.80
eventMethod · 0.80

Calls 3

pathMethod · 0.80
iterMethod · 0.80
has_descriptionMethod · 0.80

Tested by

no test coverage detected