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

x/docxml/src/components/Paragraph.ts>Paragraph.matchesNode

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

Asserts whether or not a given XML node correlates with this component.

Parameters

node: Node

Returns

boolean