API Reference > components-react > Tree > SparseArray > set set Method Sets value at specific position. Overrides any existing value. set(index: number, value: T): void Parameter Type Description index number value T Returns - void Defined in ui/components-react/src/components-react/tree/controlled/internal/SparseTree.ts Line 220 Last Updated: 20 June, 2023