Skip to main content

validate_source

Function validate_source 

Source
pub fn validate_source(source: &str) -> Result<JsValue, JsError>
Expand description

Validate a Beancount source string.

Parses, interpolates, and validates in one step. Returns a ValidationResult indicating whether the ledger is valid.