toString

Converts the given argument to a string.

Does not support maps or arrays at this time.

Examples

toString("hello") // "hello"
toString(123) // "123"
toString(123.4) // "123.4"
toString(false) // "false"

Last updated