Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»
titus.genpy.ifNotNull
¶
titus.genpy.
ifNotNull
(
state
,
scope
,
nameExpr
,
nameType
,
thenClause
)
[source]
¶
Helper function for ifnotnull as an expression.
Parameters:
state
(
titus.genpy.ExecutionState
) – exeuction state
scope
(
titus.util.DynamicScope
) – dynamic scope object
nameExpr
(
dict
) – maps from new variable names to expressions
nameType
(
string
) – expected type as a JSON-encoded string
thenClause
(
callable
) – function that is called if all expressions are not
None
Return type:
None
Returns:
nothing
Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»