Title says it all. For all of "", [], [""]
I get true
.
Returning ""
seems to be working for me:
(function(){
exports.name = "empty";
exports.params = [];
exports.run = function() {
return "";
};
})();
See it in action at this share site url.
Hmm. Odd. Now I can’t make it break. If it comes back, so will I
Thanks for checking!
There is a related case where in filters a nul output still returns true, the way I recall dealing with this is ensuring that does not flow through by using !is[blank]
on the occasion where the empty case seems to come through. I could be more in the way to reference this output, not the way your function works (not nessasarily)
- Not precise I know, but it has worked for me.
I had similar thoughts. I was storing a filter and then the results of a filter. Might have been that. Problem is, the code has moved on since it was happening…
Like I said, I might be back…