Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
is function past part of runtime?
-
is this valid? pointsList[k].runtime.past(MINUTE, 5).lastValue;
-
it is a valid statement.. my problem was I tested the runtime value for Number.NAN when I should have been testing object itself as in...
if (pointsList[k].runtime !== null){ ...} -
Glad you figured it out! You could have done
print(pointsList[k].runtime)
to see the functions or what sort of thing it was, too.