Question: is if i was grammatically correct?
Answer: Those are both grammatical, but mean very different things. 'If I were' is in the subjective mood, 'if I was' is in the indicitive mood. 'If I were' is correct in the vast majority of cases. ... The subjunctive mood of the verb to be is be in the present tense and were in the past tense, regardless of what the subject is.