Skip to main content

ui_identifier_valid

Function ui_identifier_valid 

Source
pub fn ui_identifier_valid(value: &str) -> bool
Expand description

Validates an identifier used by the canonical UI ledger.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::ui::ui_identifier_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::ui::ui_identifier_valid.

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_identifier_valid("value");