Class: ActionIterator
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:24
Constructors
new ActionIterator()
new ActionIterator(_actions): ActionIterator
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:28
Parameters
Parameter | Type |
---|---|
_actions | TextXAction [] |
Returns
Methods
hasNext()
hasNext(): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:32
Returns
boolean
next()
next(length?): TextXAction
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:36
Parameters
Parameter | Type |
---|---|
length ? | number |
Returns
peek()
peek(): TextXAction
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:88
Returns
peekLength()
peekLength(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:92
Returns
number
peekType()
peekType(): TextXActionType
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:101
Returns
rest()
rest(): TextXAction[]
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:110