Signature: toString(value: any) -> string

Description: Converts a value to its string representation.

Parameters

Returns: string

Example

let str = toString(42)
print(str)  // Prints: 42