return value

What gets back

A return value is what a function or procedure sends back when it finishes executing.

In programming, functions process inputs and produce outputs; the return value is that output: The function's return value was stored in a variable.

A function that returns nothing is said to have no return value, or to return void.

Related

caller · number · data type · method · yield · response · boolean · variable · error code · error handling · callback · recursion · assignment · integer · data · exit · statement · debug

Opposites
INPUT vs OUTPUT in computation

return valueinput

Data received for processing

argument · parameter · operand

PRESENCE vs ABSENCE of output

return valuevoid

Without legal effect

no return · nothing · undefined · null · unit

EFFECT TYPE in programming

return valueside effect

Unintended secondary outcome

mutation · state change · procedure

Family

return, value, valuable, revenue, returned, evaluate, returns, returning, revert

Familiarity
Top 500,000
Profile
Used worldwide · Timeless · Abstract · Rated G