Skip to main content

ui_append_ledger_attribute

Function ui_append_ledger_attribute 

Source
pub fn ui_append_ledger_attribute(
    buffer: &mut String,
    element: &Value,
    key: &str,
    attribute: &str,
    params: &Value,
    event_policy: bool,
) -> bool
Expand description

Adds a ledger-backed attribute after resolving its value.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_append_ledger_attribute(&mut [], todo!(), "key", todo!(), todo!(), todo!());