Skip to main content

handle_template_render_path_command

Function handle_template_render_path_command 

Source
pub fn handle_template_render_path_command(
    template_path: &str,
    params_root: &Value,
) -> Option<String>
Expand description

Handles template render path command.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::handle_template_render_path_command("template.html", &serde_json::json!({}));