Need an “Is Empty” function
Issue #32
resolved
Currently, functions can return more than one thing that can be “nothing”:
“null”, ““, “{}”,”[]” can all represent “nothing”
I have had bugs where I have fed the JSON into a case structure and chosen the wrong thing (null versus ““ for example). It would be good to have one (or more?) test functions that return a True boolean for any of the “nothings”. Alternately, have a function that turns all the “empties” into a standard thing, like null, but passes all other JSON through.
Comments (2)
-
reporter -
reporter - changed status to resolved
added to palettes
- Log in to comment
Made Beta version (not on pallets yet)