Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»
titus.genpy.cond
¶
titus.genpy.
cond
(
state
,
scope
,
ifThens
)
[source]
¶
Helper function for constructing if-elif-elif-...-elif as an expression.
Parameters:
state
(
titus.genpy.ExecutionState
) – exeuction state
scope
(
titus.util.DynamicScope
) – dynamic scope object
ifThens
(
list of (callable, callable) pairs
) – list of
(predicate,
thenClause)
pairs
Return type:
None
Returns:
nothing
Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»