Source

pagination/isPageTrailingItem.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Get whether it is the last item of the page
 *
 * @param rowIndex
 * @param pageSize
 * @category pagination
 * @module isPageTrailingItem
 */
var isPageTrailingItem = function (rowIndex, pageSize) { return (rowIndex + 1) % pageSize === 0; };
exports.default = isPageTrailingItem;