scratch-dsl
Toggle table of contents
master
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
scratch-dsl
scratch-dsl
/
org.scratchapi.scratchdsl
/
elseBlock
else
Block
infix
fun
HalfIfElse
.
elseBlock
(
block
:
BlockHost
.
(
)
->
Unit
)
:
IfElseBlock
Defines the 'else' part of an 'if-else' block.
Parameters
block
The script to run if the condition is false.