I am using the traditional ngFor for iterating across an array followed with index, my sample code:
<div *ngFor="let object of Objects; let i = index">
I want to know is it possible to get the last index from the array in i? I know I can find the first or any other by if i === 1, etc, but is there a method to check directly if i is the last one from the array? Thanks.