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