An aluminum yard stick may also suffice, but is easy to bend when on edge, I have found that most aluminum levels are slightly concave (several thousandths, but enough to see light through the gap) on the side opposite the bubble. Most likely close enough for that purpose.
To check an edge for straightness, you actually need three of them. If all three match without seeing a light between the edges, than all three are truly straight. It is possible to have a matching bow and concave with just two, but they will both not match a third one, regardless if its straight, bowed or concave. I use this method when making winding sticks to check for twist when hand planing.
When buying a 6' level, I went to Lowes and they had eight in the rack. I could not find three that matched out of the eight, but was able to find three that were just a hair off, of which I bought one. Several were quite a bit off. I had similar results when buying a 4' level, both at Home Depot and Sears.