blockly > BlockSvg > setOutput

BlockSvg.setExit() yöntemi

Bu bloğun 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 döndürür.
opt_check dize | dize[] | boş (İ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ülüyorsa (ör. get değişkeni) boş veya tanımsız.

Şunu döndürür:

geçersiz