Hi
I’m new to Thunkable and want to use functions. I’ve looked at the documentations and it hasn’t really helped (it only states what you can do not how you can do it)
I’m trying to create a function that takes in a variable and returns a value. The value can either be nothing (because the data wasn’t found) or a property of the results.
The problem is that it’s highly inconsistent.
This is the setup I have now and sometimes it will return a value and other times it wont. Even when I’ve changed absolutely nothing.
I’ve tried the if ___ return as well but I don’t know how to get it to work?
How exactly do you use functions? And how do you use them with RealTimeDB