Search.../

hasNext( )

Indicates if the reference query has more results.

Syntax

function hasNext(): boolean

hasNext Parameters

This function does not take any parameters.

Returns

true if there are more results.

Return Type:

boolean

Was this helpful?

Get whether the reference query result object has more results

Copy Code
1let hasNext = results.hasNext(); // true