coerce-int
boolean | integer | numeric | text →
coerce-int() → integer
Attempts to convert the input to an integer value. Returns null when the input cannot be converted without loss.
Parameters
This function has no parameters.
Examples
"Hello World" | coerce-int → #null
Kind: Function
Scope: special
Aliases: special-to-coerce-int