class Return extends Instruction Return instructions end the current Qworum method call in a Qworum script. Examples Example 1 const ret = Return.build(Json.build(123)); ret.statement.value === 123; // true Static Methods build(statement) Builder for Return instructions. Methods toString() Serialises the object to string for informational purposes. SeeThe Return instruction