UNPKG

semantic-network

Version:

A utility library for manipulating a list of links that form a semantic interface to a network of resources.

14 lines 346 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.id = void 0; /** * Simple match on the 'id' attribute on the resources */ var id = function (lvalue, rvalue) { if (lvalue.id && rvalue.id) { return lvalue.id === rvalue.id; } return false; }; exports.id = id; //# sourceMappingURL=id.js.map