R
fn

nodeText

tested

Plain text of a node, or `''` when the node has no inline content.

Signature

ts
export function nodeText(node: Node): string{ ... }

Parameters

ParameterTypeDescription
nodeNode

Returns

string