is_numeric
Checks if a string contains only numeric characters.
is_numeric(x:string) -> bool
Description
Section titled “Description”The is_numeric
function returns true
if x
contains only numeric characters
and false
otherwise.
Examples
Section titled “Examples”Check if a string is numeric
Section titled “Check if a string is numeric”from {x: "1234".is_numeric()}
{x: true}