as_number function:

return the number if the argument is a number, nothing if it's not.

Examples:

  • running: (as_number 100) will give: 100

  • running: (as_number -4.2) will give: -4.2

  • running: (as_number false) will return nothing