API Reference > ui-components > Tree > SparseArray > getIndex getIndex Method Returns index of supplied value. getIndex(lookupValue: T): number | undefined Parameter Type Description lookupValue T Returns - number | undefined index of value or undefined if value is not found. Defined in ui/components/src/ui-components/tree/controlled/internal/SparseTree.ts Line 143 Last Updated: 13 June, 2024