You can also use the First() and Last() methods like this:
a:myType = myType(myType_list.first())
a:myType = myType(myType_list.last())
Looks more complicated than it is. First() and Last() return an Object (not a Type 'thing'), so you have to convert it to a myType Type 'thing' using myType(object).
a:myType = myType(myType_list.first())
a:myType = myType(myType_list.last())
Looks more complicated than it is. First() and Last() return an Object (not a Type 'thing'), so you have to convert it to a myType Type 'thing' using myType(object).