Return statement (programming)

GPTKB entity

Statements (36)
Predicate Object
gptkbp:instanceOf Programming language construct
gptkbp:category Control flow statement
gptkbp:effect Terminates function execution
Transfers control to caller
gptkbp:hasSyntax return value;
return;
https://www.w3.org/2000/01/rdf-schema#label Return statement (programming)
gptkbp:purpose Exit a function
Return a value from a function
gptkbp:relatedTo Function
Procedure
Break statement
Continue statement
Void function
Yield statement
gptkbp:result Objects
Arrays
No value (void)
Null
Primitive types
gptkbp:usedIn gptkb:Java
gptkb:JavaScript
gptkb:Perl
gptkb:Python
gptkb:Ruby
gptkb:Swift
gptkb:TypeScript
gptkb:Go
gptkb:C++
gptkb:Kotlin
gptkb:Rust
gptkb:Scala
C
PHP
gptkbp:bfsParent gptkb:RTN
gptkbp:bfsLayer 6