function annotation
nounUK /ˈfʌŋkʃən ˌænəˈteɪʃən/
US /ˈfʌŋkʃən ˌænəˈteɪʃən/
A function annotation is a short note that tells people what a function does.
The teacher added a function annotation above the code so everyone knew what it did.
RELATED WORDS
OTHER MEANINGS
2. In programming, a function annotation is a special label attached to a function to give extra information about it.
The programmer used a function annotation to show the function's return type.
3. A function annotation can be a written mark that explains the purpose of a function in a math or science diagram.
She drew a function annotation next to the graph to explain the curve.
4. In language study, a function annotation marks the grammatical job a word does in a sentence.
The function annotation showed that the word was the subject.