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
4 days ago
Jan 9, 2025, 11:42 AM
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 days ago
Jan 10, 2025, 10:57 AM
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 days ago
Jan 10, 2025, 10:59 AM
Would be greateful to know if any holes in this
Tod
3 days ago
Jan 10, 2025, 10:59 AM
Great energy @MartinF! Your continuous contribution to the toddle Community just made you advance to Community Level 5!
MartinF
3 days ago
Jan 10, 2025, 11:38 AM
Added a bit to the bottom as is it wasn't blocking "undefined", which it seems to be thinking is a string.