Project a value onto the attribute set of a Leaf.
A sensible idiom is value(leaf) = project(leaf, val)
.
project(object, value)
project_and_assign(object, value)
Arguments
- object
A Leaf object.
- value
The assigned value.
Value
The value rounded to the attribute type.