Skip to main content

generated_surface_text_is_date

Function generated_surface_text_is_date 

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

Validates the date text accepted by generated-surface filters.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::generated_surface_text_is_date holds and false otherwise.

§Examples

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