UNPKG

semantic-network

Version:

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

8 lines 399 B
import { LinkRelation } from '../../linkRelation'; import { EqualityUtil } from '../equalityUtil'; export const CanonicalOrSelf = [LinkRelation.Canonical, LinkRelation.Self]; /** * Matches on the Canonical or Self link relation on the resources */ export const canonicalOrSelf = (lvalue, rvalue) => EqualityUtil.matches(lvalue, rvalue, CanonicalOrSelf); //# sourceMappingURL=canonicalOrSelf.js.map