Is there a way to minimize the code for the below operation ?
const item: any; // Incoming data const index: number = basketModel.data.coupons.fi