UNPKG

@solid-data-modules/rdflib-utils

Version:

Utility functions for the development of Solid Data Modules for RDFLib.js

11 lines 291 B
/** * Nullsafe fetching of a node * @param fetcher - The fetcher to use * @param node - A node to fetch, or null to do nothing at all */ export async function fetchNode(fetcher, node) { if (node) { await fetcher.load(node.value); } } //# sourceMappingURL=fetchNode.js.map