Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»
titus.genpy.untagUnions
¶
titus.genpy.
untagUnions
(
nameExpr
,
nameType
)
[source]
¶
Converts the
{"type":
value}
form of a union to
value
.
Parameters:
nameExpr
(
dict
) – maps from new variable names to expressions
nameType
(
string
) – expected type as a JSON-encoded string
Return type:
type of
value
Returns:
untagged object
Navigation
index
next
|
previous
|
Titus 0.8.3 documentation
»