Skip to main content

blockly > Procedures > IProcedureModel > setReturnTypes

Procedures.IProcedureModel.setReturnTypes() method

Sets the return type(s) of the procedure.

Pass null to represent a procedure that does not return.

Signature:

setReturnTypes(types: string[] | null): this;

Parameters

Parameter

Type

Description

types

string[] | null

Returns:

this