Yes, a galvanometer can measure both AC (alternating current) and DC (direct current), but its effectiveness varies.
For DC, a galvanometer provides a direct reading of current. For AC, it can measure the RMS (root mean square) value if the device is designed for it, often using a rectifier or other components to convert AC to a DC equivalent for measurement. However, standard galvanometers may not accurately measure the varying nature of AC unless specifically designed for that purpose.
In summary, while it can measure both types of current, specialized instruments are often used for AC measurements to ensure accuracy.