noun
constant function
Computing term for a function that always returns the same value regardless of input.
このプログラムでは、定数機能を使ってデフォルト値を返しています。
In this program, a constant function is used to return a default value.
Compound of 定数 (constant) and 機能 (function), a straightforward technical term.