endingfunction

noun
UK /ˈɛndɪŋˌfʌŋkʃən/
US /ˈɛndɪŋˌfʌŋkʃən/

A special job that tells a story or program when to stop.

The endingfunction stopped the game after the last level.


OTHER MEANINGS

2. A rule in math that gives the final value of a list or series.

The endingfunction summed up all the numbers in the sequence.

3. A part of a machine that makes it shut down safely.

The endingfunction turned off the robot when its battery got low.

4. The last step in a set of instructions.

Follow the endingfunction to close the app properly.