string.toString()
Get the string representation of the value.
Examples
Confirm that the calling string type returns itself:
'foobar'.toString()
"foobar"
let t1 = Time.fromString("2099-10-20T21:15:09.890729Z")
t1.toString()
"2099-10-20T21:15:09.890729Z"
Get the String representation of a floating point number:
1.5.toString()
"1.5"
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!