Skip to content

LinesProcessor

LinesProcessor<T> = (lines, options?) => (string | null | undefined)[]

Defined in: text/process-lines-factory.ts:11

A function type that processes an array of text lines based on provided options and handlers.

Type Parameters

T

T extends HandlerMap

Parameters

lines

(string | null | undefined)[]

options?

ProcessTextOptions<T>

Returns

(string | null | undefined)[]