Skip to main content

knows

Function knows 

Source
pub fn knows(lang: &str) -> bool
Expand description

Whether lang — a fence’s info string, trimmed — names a grammar: rust, rs, zig and swift do; text, "" and no-such-language do not.