stringArray function

Syntax

  • string[] stringArray()
  • string[] stringArray(values)

Parameters

  1. values—(float[], string[], bool[])
    Values to convert.

Returns

If values is not given, an empty string array is returned.

If values is given, a string array is returned that contains the elements of values converted to the corresponding string values.

Related

Examples

stringArray([1, 0, 1.777, 20])
# result = [1,0,1.777,20]
stringArray(["true", "CityEngine", ""])
# result = [true,CityEngine,]
stringArray([true, false, true])
# result = [true,false,true]


In this topic