This would involve evaluation of c-peptide, antibodies, and insulin levels correlated with blood sugar
1 is lack of insulin (and needs injected insulin), Type 2
is plenty of insulin, but there is insulin resistance and the insulin is not effective. For Type 2, oral meds may be appropriate.
If it is adult onset type 1, it may develop quickly. Therefore, I suggest your read up on syptoms of both type 1 and type 2 and if you develop symptoms then you must go to your Dr.