#Can functions return lists?
1 messages · Page 1 of 1 (latest)
a list is just a single type, but with an added s
if you're returning a list containing a bunch of strings, it would be strings
if you're returning a list containing a bunch of players, it would be players
alternatively, if you have a list containing a bunch of different elements or unknown elements, you can return objects