Skip to main content

runtime_ui_attribute_is_valid

Function runtime_ui_attribute_is_valid 

Source
pub fn runtime_ui_attribute_is_valid(name: &str) -> bool
Expand description

Checks whether a UI attribute name is safe.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::runtime_ui_attribute_is_valid holds and false 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_ui_attribute_is_valid.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::runtime_ui_attribute_is_valid("name");