toList

Description

Creates a list using the values provided or creates a new list.

Input / Parameter

Output

Example

In this example, we will create an array of values and print the result in the console.

Step

  1. Call the function Conversion.toList inside the Log.write function.

  2. Enter the value for the Conversion.toList function. In this example, we will enter 1, 2, 3.

Result

  1. The console will print an array of numbers as depicted below.

Last updated