UNPKG

@typed/content-hash

Version:

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

13 lines 403 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.removeEdge = void 0; const Eq_1 = require("fp-ts/Eq"); function removeEdge(edge, graph) { const edgeEq = (0, Eq_1.tuple)(graph, graph); return { ...graph, edges: graph.edges.filter((e) => !edgeEq.equals(edge)(e)), }; } exports.removeEdge = removeEdge; //# sourceMappingURL=removeEdge.js.map