pub fn runtime_surface_find_form<'a>(
surface: &'a Value,
form_id: &str,
) -> Option<&'a Value>Expand description
Finds a named form in a generated surface document.
§Parameters
surface: Input consumed bycrate::runtime::json_commands::runtime_surface_find_form.form_id: Input consumed bycrate::runtime::json_commands::runtime_surface_find_form.
§Returns
Returns Some when crate::runtime::json_commands::runtime_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::runtime_surface_find_form.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::runtime_surface_find_form(todo!(), "form");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.