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

x/html_parser/src/Node.ts>isDirective

Port of fb55/htmlparser2 for Deno
Latest
function isDirective
import { isDirective } from "https://deno.land/x/html_parser@v0.1.3/src/Node.ts";

Parameters

node: Node

Node to check.

Returns

true if the node has the type ProcessingInstruction, false otherwise.