Re: Determining if one type inherits from another type



"is" will only work for an instance (left-hand operand) and a type (right-hand operand), so it depends on the full scenario. In this case it sounds like there is no instance, and the type is known only at runtime, so "is" can't be used. Of course, my interpretation of the problem might be incorrect...

Marc
.



Relevant Pages

  • Re: Hi a strange code ....
    ... This is the "comma operator". ... left-hand operand, then its right-hand operand. ... If the left-hand operand to a comma operator has no side effect, ... Perl is an excellent language to break your teeth on" ...
    (comp.lang.c)
  • Re: priority of operators
    ... In the binary operation, +, the left-hand operand appears to be fully ... evaluated before any part of the right-hand operand is evaluated. ... Prev by Date: ...
    (comp.lang.java.help)