From 056429a745b17ab32458794965f2e7bbe36527e1 Mon Sep 17 00:00:00 2001 From: juggledad Date: Mon, 26 Oct 2020 04:11:15 -0400 Subject: [PATCH] Added note about passing in msg.to and msg.from dynamicly --- function/random/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/function/random/README.md b/function/random/README.md index 0713d08a..91710a84 100644 --- a/function/random/README.md +++ b/function/random/README.md @@ -19,4 +19,6 @@ If set to return an integer it can include both the low and high values. If set to return a floating point value it will be from the low value, up to, but **not** including the high value. `min <= n < max` - so selecting 1 to 6 will return values 1 <= n < 6 . +You can dynamically pass in the 'From' and 'To' values to the node using msg.to and/or msg.from. **NOTE:** hard coded values in the node **always take precedence**. + **Note:** This returns numbers - objects of type **number**.