"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeNodesByID = void 0;
function removeNodesByID(nodes, ids) {
    if (!Array.isArray(ids)) {
        return nodes;
    }
    return nodes.filter((node) => ids.indexOf(node.id) === -1);
}
exports.removeNodesByID = removeNodesByID;
//# sourceMappingURL=nodes.js.map