Skip to main content

template_reference_has_allowed_url_scheme

Function template_reference_has_allowed_url_scheme 

Source
pub fn template_reference_has_allowed_url_scheme(text: &str) -> bool
Expand description

Validates whether a template reference uses one approved URL scheme.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::template_reference_has_allowed_url_scheme holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::template_reference_has_allowed_url_scheme("{}");