Skip to main content

ui_structured_key_allowed

Function ui_structured_key_allowed 

Source
pub fn ui_structured_key_allowed(group: &str, key: &str) -> bool
Expand description

Validates structured data and HTMX attribute keys.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::ui::ui_structured_key_allowed holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_structured_key_allowed(todo!(), "key");