repeatablefunction

noun
UK /rɪˈpiːtəbl ˈfʌŋkʃn/
US /rɪˈpiːtəbl ˈfʌŋkʃn/

A repeatable function is a piece of code you can use again and again.

The teacher showed us how to write a repeatable function so we don't copy the same code twice.


OTHER MEANINGS

2. A task or action that can be performed multiple times with the same result.

Checking the temperature is a repeatable function in our science experiment.

3. A feature in software that can be run repeatedly without changing its outcome.

The backup is a repeatable function that runs every night.

4. A mathematical rule that gives the same output each time you give it the same input.

Doubling a number is a repeatable function.