Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

checkIfTextNode

import { checkIfTextNode } from "https://raw.githubusercontent.com/Hatscat/MetavaScript/main/index.ts";

a short expression to test if a value is a TextNode

@example
// returns "if(a.data)return"
abortIf(checkIfTextNode("a", { safe: false }))
function checkIfTextNode(value: Printable, { safe }?): string;
§
checkIfTextNode(value: Printable, { safe }?): string
[src]

§Parameters

§
{ safe }? optional
[src]

§Return Type

§
string
[src]