toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.api.common.support
/
Branch
Branch
data
class
Branch
<
B
,
C
>
(
val
left
:
B
?
=
null
,
val
right
:
C
?
=
null
)
Return type to indicate that the action can return one of two types. Facilitates branching
Members
Constructors
Branch
Link copied to clipboard
constructor
(
left
:
B
?
=
null
,
right
:
C
?
=
null
)
Properties
left
Link copied to clipboard
val
left
:
B
?
=
null
right
Link copied to clipboard
val
right
:
C
?
=
null
Functions
get
Link copied to clipboard
fun
get
(
)
:
Any
?