Function: baseGetTotalPages()
baseGetTotalPages\<
T>(state):number|null
Defined in: lib/index.ts:275
Example 'get total pages' function. Works upon the list state. Client APIs aren't guaranteed to support this, so we try to avoid use of this value in Providence itself. Null is a possible return here.
Type Parameters
T
T
Parameters
state
ListState\<T>
Returns
number | null