Skip to main content

declarative_manifest_has_required_fields

Function declarative_manifest_has_required_fields 

Source
pub fn declarative_manifest_has_required_fields(manifest_text: &str) -> bool
Expand description

Validates the minimum fields required by a declarative app manifest.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::declarative_manifest_has_required_fields holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::declarative::declarative_manifest_has_required_fields.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_manifest_has_required_fields(todo!());