MetS increases the risk of T2DM by 12.45 [95% CI: 10.88–14.24] fold, while an increase in ALT/AST ratio increases the risk of T2DM by 3.68 [95% CI: 3.159–4.154] fold. Here, GPT is linked to type 2 diabetes mellitus.