predefined function

noun
UK /ˌpriːdɪˈfaɪnd ˈfʌŋkʃən/
US /ˌpriːdɪˈfaɪnd ˈfʌŋkʃən/

A predefined function is a ready-made helper in a computer program that already knows how to do a job.

Instead of writing code to add numbers, the programmer used a predefined function.


OTHER MEANINGS

2. A function that is already set up in a spreadsheet program, like SUM or AVERAGE.

She used a predefined function to add up all the numbers in the column.

3. A command in a programming language that comes with the language itself.

The print command is a predefined function in many coding languages.

4. A small program that is stored in a library and can be called when needed.

The game called a predefined function to play a sound effect.