Search code examples
language-agnosticterminologynomenclature

What's the name for the first line of a function?


I'm writing a worksheet, and want to ask students to write a function that looks like this:

isPrime(int number)

What's that line called - manifest comes to mind, but I don't think that's it...


Solution

  • Could be called header, declaration or signature.

    The first one would go well with "function declaration", "function header", "function body".