UNPKG

@typed/content-hash

Version:

Content hash a directory of HTML/JS/CSS files and other static assets

12 lines 449 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.removeVertice = void 0; function removeVertice(vertice, graph) { return { ...graph, edges: graph.edges.filter((x) => !graph.equals(x[0])(vertice) && !graph.equals(x[1])(vertice)), vertices: graph.vertices.filter((x) => !graph.equals(x)(vertice)), }; } exports.removeVertice = removeVertice; //# sourceMappingURL=removeVertice.js.map