func AsType(o *Base) (v *Type, ok bool) { if ok = C.typeCheck(o.c()) != 0; ok { v = newType(o.c()) } return }
func typeCheck(obj Object) bool { if obj == nil { return false } return C.typeCheck(c(obj)) != 0 }