Skip to main content

ui_resolved_bool

Function ui_resolved_bool 

Source
pub fn ui_resolved_bool(value: Option<&Value>, params: &Value) -> bool
Expand description

Resolves a boolean value through page parameters.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_resolved_bool("value", todo!());