@univerjscorefunctionsNormalizetextruns

@univerjs/core v0.5.0-beta.1Docs


Function: normalizeTextRuns()

function normalizeTextRuns(textRuns, reserveEmptyTextRun): ITextRun[]

Parameters

ParameterTypeDefault value
textRunsITextRun[]undefined
reserveEmptyTextRunbooleanfalse

Returns

ITextRun[]

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/apply-utils/common.ts:33