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:114
map
• Readonly
map: (value
: State
) => Value
Type declaration
▸ (value
): Value
Parameters
Name | Type |
---|---|
value | State |
Returns
Value
Defined in
packages/lexical/src/LexicalCaret.ts:117
step
• Readonly
step: (value
: State
) => State
| Stop
Type declaration
▸ (value
): State
| Stop
Parameters
Name | Type |
---|---|
value | State |
Returns
State
| Stop
Defined in
packages/lexical/src/LexicalCaret.ts:116
stop
• Readonly
stop: (value
: State
| Stop
) => value is Stop
Type declaration
▸ (value
): value is Stop
Parameters
Name | Type |
---|---|
value | State | Stop |
Returns
value is Stop