Skip to content

visitTextNodes

visitTextNodes(startNode, visitor): void

Visit all text nodes

Parameters

startNode

startNode.content: any[]

startNode.type: string

visitor

Returns

void

Source

utils/text-utils.ts:650