Is the iPhone lightning port cable supposed to work both ways?

When you connect it to the computer, does it work both sides?

The lightning cable works on both sides (reversible) for the iPhone 5 charging port, but is a USB port on the other side and USB only works one way.

[iPhone5]<--(Lightning cable--->[USB port on computer]
(works both ways) [One sided]