semantic-network
Version:
A utility library for manipulating a list of links that form a semantic interface to a network of resources.
17 lines (16 loc) • 537 B
TypeScript
import { UriList } from '../../types/mediaTypes';
import { Uri } from 'semantic-link';
/**
* A guard to detect whether the object is a {@link UriList}
*
* @param object
* @returns whether the object is an instance on the interface
*/
export declare function instanceOfUriList(object: unknown): object is UriList;
/**
* A guard to detect whether the object is a {@link Uri}
*
* @param object
* @returns whether the object is an instance on the interface
*/
export declare function instanceOfUri(object: unknown): object is Uri;