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

x/evt/lib/index.ts>dom.XPathResult

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.XPathResult
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { XPathResult } = dom;

The results generated by evaluating an XPath expression within the context of a given node.

Properties

readonly
booleanValue: boolean
readonly
invalidIteratorState: boolean
readonly
numberValue: number
readonly
resultType: number
readonly
singleNodeValue: Node | null
readonly
snapshotLength: number
readonly
stringValue: string
readonly
ANY_TYPE: number
readonly
ANY_UNORDERED_NODE_TYPE: number
readonly
BOOLEAN_TYPE: number
readonly
FIRST_ORDERED_NODE_TYPE: number
readonly
NUMBER_TYPE: number
readonly
ORDERED_NODE_ITERATOR_TYPE: number
readonly
ORDERED_NODE_SNAPSHOT_TYPE: number
readonly
STRING_TYPE: number
readonly
UNORDERED_NODE_ITERATOR_TYPE: number
readonly
UNORDERED_NODE_SNAPSHOT_TYPE: number

Methods

iterateNext(): Node | null
snapshotItem(index: number): Node | null