toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics.shader
/
Program
/
Stm
/
If
If
data
class
If
(
val
cond
:
Operand
,
val
tbody
:
Program.Stm
,
var
fbody
:
Program.Stm
?
=
null
)
:
Program.Stm
Members
Members & Extensions
Constructors
If
Link copied to clipboard
constructor
(
cond
:
Operand
,
tbody
:
Program.Stm
,
fbody
:
Program.Stm
?
=
null
)
Properties
cond
Link copied to clipboard
val
cond
:
Operand
fbody
Link copied to clipboard
var
fbody
:
Program.Stm
?
tbody
Link copied to clipboard
val
tbody
:
Program.Stm
Functions
ELSE
Link copied to clipboard
infix
fun
Program.Stm.If
.
ELSE
(
callback
:
Program.Builder
.
(
)
->
Unit
)
ELSE_IF
Link copied to clipboard
fun
Program.Stm.If
.
ELSE_IF
(
cond
:
Operand
,
callback
:
Program.Builder
.
(
)
->
Unit
)
:
Program.Stm.If