What does this mean?

It's the functional equivelent to this:

if (on)
  digitalWrite(13, HIGH);
else
  digitalWrite(13, LOW);