blockly > BlockSvg > setOutput

BlockSvg.setExit() yöntemi

Bu blokun bir değer döndürüp döndürmeyeceğini belirleyin.

İmza:

setOutput(newBoolean: boolean, opt_check?: string | string[] | null): void;

Parametreler

Parametre Tür Açıklama
newBoolean boolean Çıkış varsa doğru değerini alır.
opt_check dize | string[] | null (İsteğe bağlı) Döndürülen tür veya döndürülen türlerin listesi. Herhangi bir tür döndürülebilirse boş veya tanımsız (ör. get değişkeni).

İade et:

void