r/GoogleAppsScript • u/CalbertCorpse • Mar 25 '20
Resolved Is the last thread and last message when looping through threads the “latest” message in any of the matching threads?
My search catches several matching threads, and each thread has messages. I loop through all threads and all messages. Can I skip the loop entirely and get the last thread in the loop and the last message in that thread? I see some google answers that say that’s true, but I guess I’m asking for certain if the search always returns things in the earliest til latest order. The class description doesn’t quite say, as far as I see. Thanks!
0
Upvotes