Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»
titus.genpy.ifThen
¶
titus.genpy.
ifThen
(
state
,
scope
,
predicate
,
thenClause
)
[source]
¶
Helper function for constructing an if-then branch as an expression.
Parameters:
state
(
titus.genpy.ExecutionState
) – exeuction state
scope
(
titus.util.DynamicScope
) – dynamic scope object
predicate
(
callable
) – function that returns
True
or
False
thenClause
(
callable
) – function that is called if
predicate
returns
True
Return type:
None
Returns:
nothing
Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»