In that case, when the question is =
instead of ==
, it might not be a typo but instead a misunderstanding of key language features, thus it might be valid at least for the asker, and I think answering them in detail, explaining a typo as both possible ways of interpretation should be beneficial for the answerer.
There are questions that have a typo "pre-installed", say this onethis one, and answering such questions can lead the asker to the better, including staying here, asking more and answering.
I think the best way to do with typo questions is voting to close as typo, probably explaining where's the typo, and leaving no answers of your own. Existing answers should be evaluated as normal.