Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

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

Parameters

node: Node

Returns

boolean