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