Skip to main content

hook_has_labelled_code

Function hook_has_labelled_code 

Source
pub fn hook_has_labelled_code(hook: &str, label: &str) -> bool
Expand description

Whether hook holds a chunk labelled label: lthooks keeps labelled code in a flat prop (\prop_if_in:cnTF, latex.ltx:5544), each entry \__prop_pair:wn <label> \s__prop {<code>} (expl3-code.tex:9873).