method Return.build
Return.build(statement)

Builder for Return instructions.

Examples

Example 1

const return1 = Return.build(Json.build(2022));

Parameters

statement

The instruction or data value to evaluate.

Return Type

Throws

Error

See

Usage

import { Return } from ".";