enumeration function
nounUK /ɪˌnjuːməˈreɪʃən ˈfʌŋkʃən/
US /ɪˌnuːməˈreɪʃən ˈfʌŋkʃən/
A special helper in a computer program that counts or lists things one by one.
The programmer used an enumeration function to list all the colors in the game.
RELATED WORDS
OTHER MEANINGS
2. A mathematical rule that assigns a number to each item in a set, putting them in order.
The enumeration function gave each student a unique number.
3. A routine in coding that goes through every item in a collection, one at a time.
The enumeration function checked every file in the folder.
4. A way to name or count members of a group so none are missed.
The enumeration function made sure every vote was counted.