Verse Library verse

07 Iterating Over An Array Or A Map

Demonstrates destructuring map keys and values during iteration to compute results.

extracted-snippets/documentation/en-us/fortnite/for-in-verse/07-iterating-over-an-array-or-a-map.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/for-in-verse
# Local doc:  epic-docs/documentation/en-us/fortnite/for-in-verse.md
# Section:    Iterating over an Array or a Map
Values  :=  for ( X->Y := map{ 1=>3,  0=>7 }):
X + Y

Comments

    Sign in to vote, comment, or suggest an edit. Sign in