Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/docxml/src/files/Relationships.ts>Relationships#find

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
method Relationships.prototype.find
import { Relationships } from "https://deno.land/x/docxml@2.4.2/src/files/Relationships.ts";

Find a relationship instance (eg. a OfficeDocument) 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