Comparisons
isa
Ask whether an object is compatible with a given class.
Syntax
<object> isa <Class>
How she behaves
- True when the object is that class, or a child of it.
- Pairs with inheritance and runtime polymorphism.
- This is not is. is still assigns. I will keep saying that.
Example
define Dog dog is newobj Dog("Rex");
if dog isa Animal;
showln true;
end;