app/data/ct.release/types.js
/**
         * Checks whether a given object exists in game's world.
         * Intended to be applied to copies, but may be used with other PIXI entities.
         * @param {Copy|Pixi.DisplayObject|any} obj The copy which existence needs to be checked.
         * @returns {boolean} Returns `true` if a copy exists; `false` otherwise.
         */
Checks whether a given object exists in game's world.
Intended to be applied to copies, but may be used with other PIXI entities.
@param {Copy|Pixi.DisplayObject|any} obj The copy which existence needs to be checked.
@returns {boolean} Returns `true` if a copy exists; `false` otherwise.
Checks whether a given object exists in game ' s world . Intended to be applied to copies but may be used with other PIXI entities . @param { Copy|Pixi . DisplayObject|any } obj The copy which existence needs to be checked . @returns { boolean } Returns ` true ` if a copy exists ; ` false ` otherwise .
valid(obj) {
            if (obj instanceof Copy) {
                return !obj.kill;
            }
            if (obj instanceof PIXI.DisplayObject) {
                return Boolean(obj.position);
            }
            return Boolean(obj);
        }
valid ( obj ) { if ( obj instanceof Copy ) { return ! obj . kill ; } if ( obj instanceof PIXI . DisplayObject ) { return Boolean ( obj . position ) ; } return Boolean ( obj ) ; }
Checks whether a given object exists in game's world.
Checks whether a given object exists in game ' s world .