R/return keywordThe R/ returnstatement ends function execution and specifies a value to be returned to the function caller. This code defines a function sum, which returns a sum of its arguments: F sum(a, b) R a + b The R/ returnstatement can be used to return early from the function: F f(a) if (a == 0) R ... |