Skip to main content

Function: extractNextCursor()

extractNextCursor(data): string | undefined

Defined in: core/pagination.ts:40

The cursor of the next page reported by a cursor-paginated wrapper ({ data: [...], next_cursor }), or undefined on the last page.

Parameters​

ParameterType
dataunknown

Returns​

string | undefined