UNPKG

semantic-network

Version:

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

10 lines (9 loc) 437 B
import { LinkedRepresentation } from 'semantic-link'; import { Tracked } from '../../types/types'; /** * A guard to detect whether the object has {@link State} and is a {@link LinkedRepresentation} * * @param object * @returns whether the object is an instance on the interface */ export declare function instanceOfTrackedRepresentation<T extends LinkedRepresentation>(object: unknown | LinkedRepresentation): object is Tracked<T>;