top Method

Select only top entries from the query. This is applied after Query.skip.

top(n: number): this

Parameter Type Description
n number Number of top entries to select.

Returns - this

This query.

Defined in

Last Updated: 13 June, 2024