semantic-network
Version:
A utility library for manipulating a list of links that form a semantic interface to a network of resources.
9 lines (8 loc) • 401 B
TypeScript
import { RelationshipType } from 'semantic-link';
import { Comparator } from '../../interfaces/comparator';
import { ComparableRepresentation } from '../../interfaces/comparableRepresentation';
export declare const CanonicalOrSelf: RelationshipType;
/**
* Matches on the Canonical or Self link relation on the resources
*/
export declare const canonicalOrSelf: Comparator<ComparableRepresentation>;