input-only function

noun
UK /ˈɪnpʊt ˈəʊnli ˈfʌŋkʃən/
US /ˈɪnpʊt ˈoʊnli ˈfʌŋkʃən/

A function that only takes things in and does not give anything back.

The teacher said our helper is an input-only function because it reads the numbers but never returns an answer.


OTHER MEANINGS

2. A routine that accepts data but produces no output value.

In the program, printName is an input-only function that shows text but returns nothing.

3. A block of code whose job is to receive information for later use.

The sensor handler acts as an input-only function, storing readings without sending anything back.

4. A function used just to consume or log its arguments.

We made a small input-only function to record each click for debugging.