Skip to main content

Home > 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

ParameterTypeDescription
typesstring[] | null

Returns:

this