Is my weight affecting me getting pregnant??

I am 5’2 and 100 pounds.. I e always been very thin and my metabolism is very high, it’s very hard to gain weight, me and my husband are ttc but it’s been 10 months already and I’m wondering if my weight has anything to do with me not getting pregnant? I need some advice and opinions, I’m trying to gain weight it’s just hard