Skip to content
Control Flow return

$return — Returns a value

Returns a value

Syntax

$return[value]

Parameters

  • value (text, required) — The value to return

Return Value

  • Unknown.

Usage

$return[value] → result

Example

$sendMessage[$localFunction[f;a$return[b]c;x]$callLocalFunction[f;1]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.