class Test def main is shared pass s as Object = 'aoeu' o as Object? = s to? Test assert o is nil o = s assert o to? String == 'aoeu' o = 5 assert o to int==5 o = s assert o to? int==nil