Can ListToArray return a specific object type?

BlitzMax Forums/BlitzMax Beginners Area/Can ListToArray return a specific object type?

I'd just write my own version of list to array and have the casting take place while copying the objects from the list to the array.