Skip to main content

index

ai-research-agent / editor/delta/Op

Index

Namespaces

Classes

OpIterator

Constructors

new OpIterator()
new OpIterator(ops): OpIterator
Parameters
ParameterType

ops

default[]

Returns

OpIterator

Methods

hasNext()
hasNext(): boolean
Returns

boolean

next()
next(length?): default
Parameters
ParameterType

length?

number

Returns

default

peek()
peek(): default
Returns

default

peekLength()
peekLength(): number
Returns

number

peekType()
peekType(): string
Returns

string

rest()
rest(): default[]
Returns

default[]

Properties

index
index: number;
offset
offset: number;
ops
ops: default[];

Interfaces

default

Properties

attributes?
optional attributes: default;
delete?
optional delete: number;
insert?
optional insert: string | Record<string, any>;
retain?
optional retain: number;