Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

Page.isLast

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Page.isLast for more information.

N/search Module
Page.isLast
Property Description: Indicates whether a page is within the last range of the result set. Flags the end of the data collection.
Type: boolean This property is read-only.
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/search Module
Since: 2016.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Page.isLast

Example:

// Code Example 1
//Add additional code
//...
while (!page.isLast){
page = page.prev();
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4486603745.html