Skip to main content

generated_surface_text_is_decimal

Function generated_surface_text_is_decimal 

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

Validates a bounded decimal amount without accepting exponent syntax.

§Parameters

§Returns

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

§Examples

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