Skip to content

Commit

Permalink
Clarify set node description (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
sJJdGG authored and osdnk committed May 21, 2019
1 parent d87b0da commit 60079d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ If you'd like to use more than one event attribute in your reanimated code, this
set(valueToBeUpdated, sourceNode)
```

When evaluated, it will assign the value of `sourceNode` to the `Animated.Value` passed as a first argument. In other words, it performs an assignment operation from the `sourceNode` to `valueToBeUpdated` value node.
When evaluated, it will assign the value of `sourceNode` to the `Animated.Value` passed as a first argument. In other words, it performs an assignment operation from the `sourceNode` to `valueToBeUpdated` value node and also returns a node that represents this value.

---
### `cond`
Expand Down

0 comments on commit 60079d8

Please sign in to comment.