Skip to main content

validate_config

Function validate_config 

Source
pub fn validate_config(
    kind: &str,
    value: JsValue,
    strict: Option<bool>,
) -> Result<(), JsError>
Expand description

Check that a config is valid for the current schema without migrating it, where strict requires the complete save() form.