StateEffect<Value>
Unofficial
Import:
import type { StateEffect } from '@codemirror/state';Signature:
export interface StateEffect<Value>Methods
| Method | Returns | Description | |
|---|---|---|---|
| is(type) | this is StateEffect<T> | Tells you whether this effect object is of a given type. | |
| map(mapping) | StateEffect<Value> | undefined | Map this effect through a position mapping. Will return undefined when that ends up deleting the effect. |
Links to this page: