I used a Load Table Objects block to load a variable. The query returns data, so I know that works. If I check if the variable is an object it returns false. If I check if it is an array, it returns true.
I thought Load Table Objects return an object, but it looks like it’s an array of objects, but not an object itself.
Could you please narrow down “this works” and “this doesn’t” to something specific in that logic? I can see about a dozen of places where things could go wrong
jQuery is not a language… the isEmptyObject is not a standard thing, but a utility method defined by jQuery.
Arrays in JS are special types of objects. The best way to check if an array is empty is to check its length which returns the number of elements in it: