blockly > 블록 > setNextStatement

Block.setNextStatement() 메서드

다른 블록이 이 블록 하단에 체이닝될 수 있는지 여부를 설정합니다.

서명:

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

매개변수

매개변수 유형 설명
newBoolean 부울 다음 문이 있을 수 있는 경우 true입니다.
opt_check string | string[] | null (선택사항) 문 유형 또는 문 유형 목록입니다. 연결할 수 있는 유형이 있는 경우 null/undefined입니다.

반환:

void