hasNext( )


Indicates if the reference query has more results.

Method Declaration
Copy
function hasNext(): boolean;
Request
This method does not take any parameters
Returns
Return Type:boolean
Get whether the reference query result object has more results
JavaScript
let hasNext = results.hasNext(); // true
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?