Skip to main content

predates_contract

Function predates_contract 

Source
pub fn predates_contract(version: &str) -> bool
Expand description

Whether a docling-JSON version predates the inline whitespace contract (below 1.11.0). An unparsable or missing version is not migrated — docling-core leaves versionless input alone rather than guess.