semantic-network
Version:
A utility library for manipulating a list of links that form a semantic interface to a network of resources.
14 lines • 364 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.name = void 0;
/**
* Simple match on the name attribute on the resources
*/
var name = function (lvalue, rvalue) {
if (lvalue.name && rvalue.name) {
return lvalue.name === rvalue.name;
}
return false;
};
exports.name = name;
//# sourceMappingURL=name.js.map