"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginationHelper = paginationHelper;
function paginationHelper(items, take) {
    const hasNextPage = items.length > take;
    items.splice(take);
    return { items, hasNextPage };
}
//# sourceMappingURL=pagination.js.map