blockly > BlockSvg > setOutput
Metoda BlockSvg.setoutput()
Określ, czy ten blok zwraca wartość.
Podpis:
setOutput(newBoolean: boolean, opt_check?: string | string[] | null): void;
Parametry
Parametr | Typ | Opis |
---|---|---|
newBoolean | boolean | Prawda, jeśli dane wyjściowe są dostępne. |
opt_check | string | string[] | null | (Opcjonalnie) Zwrócony typ lub lista zwróconych typów. Wartość null lub nieokreślona, jeśli można zwrócić dowolny typ (np. zmienna get). |
Zwraca:
void