CreationShakeIf
class CreationShakeIf(val condition: CreationShakeValue, val body: CreationShakeCode, val elseBody: CreationShakeCode? = null) : CreationShakeStatement, ShakeIf(source)
Constructors
Link copied to clipboard
constructor(condition: CreationShakeValue, body: CreationShakeCode, elseBody: CreationShakeCode? = null)
Properties
Link copied to clipboard
The block of code to be executed if the condition is true.
Link copied to clipboard
The condition that determines whether the 'if' block or the 'else' block (if present) should be executed. This is a value that should evaluate to a boolean.
Link copied to clipboard
The block of code to be executed if the condition is false. This is optional and may be null if no 'else' block is present.