Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/docxml/mod.ts>RelationshipsXml#findInstance

TypeScript (component) library for building and parsing a DOCX file
Latest
method RelationshipsXml.prototype.findInstance
import { RelationshipsXml } from "https://deno.land/x/docxml@5.15.3/mod.ts";

Find a relationship instance (eg. a DocumentXml) by its metadata. The metadata would tell you what type of relationship it is.

Type Parameters

optional
R extends File = File

Parameters

cb: (meta: RelationshipMeta) => boolean

Returns

R | null