Convert list of text to an Array

Hi guys! I’m stuck, hope you can help me
I have a field “listEmail” type List of texts (server side)


I want to convert it to an Array of texts, how can I do it?
I still see this: typeof(listEmail) and typeof(array) // both object
the expected result is [“email1@gmail.com”, “email2@gmail.com”, “email3@gmail.com”]

the get method on lists already returns an array

You’re right, it worked, I probably tested wrong before, thank you

1 Like