lib/livedata/Store.js
function isStore(object) {
    if (!object || typeof object !== 'object') {
        return false;
    }
    else if ('isStore' in object) {
        diag.debug.assert(function () { return object.isStore === Store.prototype.isPrototypeOf(object); });
        return object.isStore;
    }
    else {
        return Store.prototype.isPrototypeOf(object);
    }
}
function isStore(object) {
    if (!object || typeof object !== 'object') {
        return false;
    }
    else if ('isStore' in object) {
        diag.debug.assert(function () { return object.isStore === Store.prototype.isPrototypeOf(object); });
        return object.isStore;
    }
    else {
        return Store.prototype.isPrototypeOf(object);
    }
}
function isStore ( object ) { if ( ! object || typeof object !== 'object' ) { return false ; } else if ( 'isStore' in object ) { diag . debug . assert ( function ( ) { return object . isStore === Store . prototype . isPrototypeOf ( object ) ; } ) ; return object . isStore ; } else { return Store . prototype . isPrototypeOf ( object ) ; } }
tests whether a given object is a Store.

@param {object} object to check.
@return {boolean} whether object is a Store.
tests whether a given object is a Store .