API Reference > ui-components > Tree > SparseArray > insert insert Method Inserts value at specific position. Increases array length by 1. insert(index: number, value: T): void Parameter Type Description index number value T Returns - void Defined in ui/components/src/ui-components/tree/controlled/internal/SparseTree.ts Line 168 Last Updated: 13 June, 2024