Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I have not found it in the API browser, but maybe it is simply "hidden" or I haven't search properly...
I had a look but also did not find it, so I added a function ConvertToPolyline which will become available in the next release (you can test it internally next week).