Skip to main content

surface_find_form

Function surface_find_form 

Source
pub fn surface_find_form(root: &Value, form_id: &str) -> Option<String>
Expand description

Finds one form declaration by its id.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::surface_find_form can produce a value and None otherwise.

§Performance

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::surface_find_form(std::path::Path::new("."), "form");