Hi, just a quick question. I cant seem to find any way to get the number of elements that exist in a TArray, is there a built in function that i’m missing or something?
Hey, it’s TArray::Num()
2 Likes
Alright thanks!
MyArray.Num()
2 Likes
I was looking for this as well. The API pages are lacking
I think this could have a better name, size and length are what most of us would probably look for first.
2 Likes
+1. Just ended up here after looking for Size, Length and Count in the reference page.
1 Like
i really don’t understand why is it so hard to just use more conventional words like size/length
1 Like