blockly > Engelle > getSurroundParent

Block.getSurroundParent() yöntemi

Return the parent block that surrounds the current block, or null if this block has no surrounding block. Üst blok, yalnızca önceki ifade olabilir. Çevreleyen blok ise if (if) ifadesi, when loop vb. olabilir.

İmza:

getSurroundParent(): this | null;

İade et:

bu | null

Geçerli bloğu çevreleyen blok (varsa).