returntype
nounUK /rɪˈtɜːn taɪp/
US /rɪˈtɝːn taɪp/
The kind of answer a computer function gives back after it finishes its job.
The function's return type is a number, so it always gives back a number.
OTHER MEANINGS
2. In programming, the data type declared for a method's output.
Change the return type to string if the method should give back words.
3. The category of value a subroutine sends back to the code that called it.
The compiler checks that the return type matches what the caller expects.
4. A label describing what sort of result an operation produces.
The API documentation lists the return type for every endpoint.