Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's really annoying about the IsNot operator is that it's not consistent with TypeOf ... Is. In other words, you can't do this:

    If TypeOf obj IsNot MyClass Then
        ' ...
Instead you have to do:

    If Not TypeOf obj Is MyClass Then
        ' ...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: