toPaginated
Ensure the result is in paginated format
ts
import { } from 'feathers-utils/utils';Type declaration
ts
/**
* Ensure the result is in paginated format
*
* @see https://utils.feathersjs.com/utils/to-paginated.html
*/
export declare function toPaginated<R>(result: R[] | Paginated<R>): Paginated<R>| Argument | Type | Description |
|---|---|---|
| result | R[] | Paginated<R> |
