Skip to content

The "Convert" Node ​

Converts data from one type to another.

Convert

  • Output
  • To
  • Input

Inputs ​

  • To − Which type to convert to.
    • Text − Converts numbers and booleans like a printout (e.g. "1.2" or "true"). List items are conjoined with a comma.
    • Number − Tries to convert text into numbers, returns undefined when that fails. true converts to 1 and false to 0. Tries summing up all items in a list.
    • Boolean − Only returns false for an empty text or the number 0 or when all items of a list would convert to false, otherwise true.
    • List − Returns a list with the first item being the Input, except when the Input already is a list.
  • Input − The data to convert.

Outputs ​

  • Index − The converted data or undefined when conversion fails.