$toString
The$toString operator converts a value to a string.
Input
- A single value of any type
Output
- The string representation of the input value
Examples
Convert Number to String
"123"
Convert Boolean to String
"true"
$toString operator converts a value to a string.
"123"
"true"