Am I trying to use a variable or pass a value by reference or by value?

So if I use the update() function what is leds? Is it the pin I am controlling? Or a value? What am I telling the compiler with leds.update()? write the value of leds in EEPROM?