@univerjs/core v0.4.2 • Docs
Class: ActionIterator
Constructors
new ActionIterator()
new ActionIterator(_actions): ActionIterator
Parameters
Parameter | Type |
---|---|
_actions | TextXAction [] |
Returns
Defined in
Methods
hasNext()
hasNext(): boolean
Returns
boolean
Defined in
next()
next(length?): TextXAction
Parameters
Parameter | Type |
---|---|
length ? | number |
Returns
Defined in
peek()
peek(): TextXAction
Returns
Defined in
peekLength()
peekLength(): number
Returns
number
Defined in
peekType()
peekType(): TextXActionType
Returns
Defined in
rest()
rest(): TextXAction[]