useHasTable
The useHasTable hook returns a reactive object indicating whether a Table exists in the Store, and registers a listener so that any changes to that result will update .current.
useHasTable(
tableId: MaybeGetter<string>,
storeOrStoreId?: MaybeGetter<undefined | StoreOrStoreId>,
): {current: boolean}| Type | Description | |
|---|---|---|
tableId | MaybeGetter<string> | |
storeOrStoreId? | MaybeGetter<undefined | StoreOrStoreId> | |
| returns | {current: boolean} | A reactive object with a |
Since
v8.1.0