hasPrev( )


Indicates if the reference query has previous results.

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

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

Did this help?