Filter queries
Hello,
I have been struggling to get a function working where I check for if a filter query is coming into a service empty (no filter has been added).

First I thought it was just a normal JSON and tried to use .length().
But by doing so I receive this error message in the output:

I have also tried using isEmpty(), but receive the same error message as with .length().
So my only conclusion is that this type is not actually a JSON type.
Some other "issue" is that when logging out the value, it can be undefined OR just '{}', I guess depending on if we have had a filter after first load or not.
Any help with this would be much appreciated.
Regards,

