$getChildCaretAtIndex
functionGet a caret pointing at the child at the given index, or the last caret in that node if out of bounds.
Import
import { $getChildCaretAtIndex } from '@modular/sdk/editor';Notes
- returns
- A caret pointing towards the node at that index