Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Checks if a string contains only numeric characters.

is_numeric(x:string) -> bool

The is_numeric function returns true if x contains only numeric characters and false otherwise.

from {x: "1234".is_numeric()}
{x: true}

Last updated: