exit condition
nounUK /ˈɛksɪt kənˈdɪʃən/
US /ˈɛɡzɪt kənˈdɪʃən/
A rule that tells a computer program when to stop.
The loop keeps running until the exit condition becomes true.
RELATED WORDS
OTHER MEANINGS
2. A requirement that must be met before leaving a place or situation.
The exit condition for the challenge was to find all five clues.
3. In mathematics, a value or state at which an iterative process ends.
The algorithm reaches its exit condition after ten steps.
4. A test used to decide when to leave a repeating activity.
Players agreed on an exit condition so the game would not go on forever.