I know about (a instanceof Array) but how would I test for an object?
var c = {};
if ( c instanceof XXXX) {
// should get thru
}
var s = "abscdef";
if ( s instanceof XXXX) {
// should not get thru
}
var a = [];
if ( a instanceof XXXX) {
// should not get thru
}
Object, not a "collection".