This is an old revision of the document!
Brickyard : Functions > Utility > ray tracing
Tests a ray and returns 0 or 1 depending on whether the ray matches the specified type. This can be useful to control If Else bricks, as shown in the Chrome shader sample (below).