Skip to main content

identifier_safe

Function identifier_safe 

Source
pub fn identifier_safe(text: &str) -> bool
Expand description

Returns whether text is safe for an identifier position.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::ops_bridge::identifier_safe 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::ops_bridge::identifier_safe.

§Examples

ⓘ
let _result = pharos_native::runtime::ops_bridge::identifier_safe("{}");