Skip to main content

Function: decodeCursor()

decodeCursor(cursor): Record<string, any> | null

Defined in: src/query/CursorPagination.ts:73

Decodes a cursor token (Base64 string or plain object) into an object.

Parameters​

ParameterType
cursorstring | Record<string, any>

Returns​

Record<string, any> | null