Skip to main content

generated_surface_text_is_email

Function generated_surface_text_is_email 

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

Validates a basic user-facing email value.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::generated_surface_text_is_email("{}");