Yes, it is the amount of current passing through the body that causes the damage.
Remember though that all things being equal, higher voltages will push proportionally more current through your body.
Also remember that it takes less than one-tenth of an amp to kill a human being.