Skip to content

isPaginated

Source Code | Documentation

See also: getPaginate

util to check if a hook is a paginated hook using getPaginate

ts
  import { 
isPaginated
} from 'feathers-utils/predicates';

Type declaration

ts
/**
 * util to check if a hook is a paginated hook using `getPaginate`
 *
 * @see https://utils.feathersjs.com/predicates/is-paginated.html
 */
export declare const isPaginated: <H extends HookContext = HookContext>(
  context: H,
) => boolean
ArgumentTypeDescription
contextH

Released under the MIT License.