difference Array.size() and len(Array)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Timofey

what is their difference?

:bust_in_silhouette: Reply From: ejricketts

size() is exclusive to arrays (except its relation to PackedData in the documentation), whereas len() can be used for multiple variable types, such as a string.