Skip to main content

runtime_surface_find_form

Function runtime_surface_find_form 

Source
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

§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");