dont know why it passes of as a string one day and null the other, also messes up the entire formula, her it is false for some reason, plz help
unicodes
3 months ago
Usually i'm using this check, could this solve your issue?
also you can use this, but now always working, in some situation it returns incorrect. this is why size, gr. than is my favorite and you can be sure that returns as expected.
I'm checking if an API or variable returns a value before making a decision, such as displaying a default avatar image or the user's avatar.
MartinF
3 months ago
I've had the issue to with null and undefined, so tried to create a global formula to check for all 'empty' values. It seems to reliably return true for undefined, any null value and any empty string, object or array. Useful for looking for the absence of things.
MartinF
3 months ago
Would be greateful to know if any holes in this
Tod
3 months ago
Great energy @MartinF! Your continuous contribution to the toddle Community just made you advance to Community Level 5!
MartinF
3 months ago
Added a bit to the bottom as is it wasn't blocking "undefined", which it seems to be thinking is a string.