blockly > BlockSvg > setOutput
Metodo BlockSvg.setOutput()
Stabilisci se questo blocco restituisce un valore.
Firma:
setOutput(newBoolean: boolean, opt_check?: string | string[] | null): void;
Parametri
Parametro | Tipo | Descrizione |
---|---|---|
newBoolean | boolean | True se è presente un output. |
opt_check | stringa | stringa[] | null | (Facoltativo) Tipo restituito o elenco di tipi restituiti. Null o non definito se è possibile restituire un qualsiasi tipo (ad es. variabile get). |
Resi:
void