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 403 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfResourceSync = void 0; function instanceOfResourceSync(obj) { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore return obj.resource !== 'undefined' && !obj.rel; } exports.instanceOfResourceSync = instanceOfResourceSync; //# sourceMappingURL=instanceOfResourceSync.js.map