Function check

Source
pub fn check(doc: &Document) -> Diagnostics
Expand description

Checks a Bend file and return its diagnostics.