TinyBase logoTinyBase β

useIndexes

The useIndexes hook returns the default Indexes object from the current Provider context (or a named one if an Id is provided).

useIndexes(id?: string): Indexes | undefined
TypeDescription
id?string

An optional Id of a named Indexes object in the Provider context.

returnsIndexes | undefined

The Indexes object, or undefined if not found.

Since

v8.1.0