Skip to main content

Interface: StepwiseIteratorConfig<State, Stop, Value>

lexical.StepwiseIteratorConfig

Type parameters

Name
State
Stop
Value

Properties

initial

Readonly initial: State | Stop

Defined in

packages/lexical/src/LexicalCaret.ts:115


map

Readonly map: (value: State) => Value

Type declaration

▸ (value): Value

Parameters
NameType
valueState
Returns

Value

Defined in

packages/lexical/src/LexicalCaret.ts:118


step

Readonly step: (value: State) => State | Stop

Type declaration

▸ (value): State | Stop

Parameters
NameType
valueState
Returns

State | Stop

Defined in

packages/lexical/src/LexicalCaret.ts:117


stop

Readonly stop: (value: State | Stop) => value is Stop

Type declaration

▸ (value): value is Stop

Parameters
NameType
valueState | Stop
Returns

value is Stop

Defined in

packages/lexical/src/LexicalCaret.ts:116