8 lines
145 B
JavaScript
8 lines
145 B
JavaScript
module.exports = hasLastPage
|
|
|
|
const getPageLinks = require('./get-page-links')
|
|
|
|
function hasLastPage (link) {
|
|
return getPageLinks(link).last
|
|
}
|