interface BottomN {
    $bottomN: {
        n: any;
        output: any;
        sortBy: AnyObject;
    };
}

Properties

Properties

$bottomN: {
    n: any;
    output: any;
    sortBy: AnyObject;
}

Returns an aggregation of the bottom n elements within a group, according to the specified sort order. If the group contains fewer than n elements, $bottomN returns all elements in the group.

Type declaration