Does the effects of antimagic field affect the person who casted it? (Dnd 5e)

We can’t figure out if the person who cast the field is also not able to cast magic or use magic items. If this is the case, what would be the use for the spell, as you are just as weak as the people you are affecting?