Add asTypeOf to prelude
Merge pull request #350 from garyb/astypeof

Add asTypeOf to prelude