Does taking megnesium help anxiety?

Magnesium for anxiety? Does anyone take it? Does it help? Thank you!