xp-framework/xp-framework — pull request #249 by thekid (2013-03-03 16:09:13+00:00)
Title: Type::isAssignableFrom()

This pull request adds `Type::isAssignableFrom()` method which is the reflective counterpart of `instanceof`:

```php
$date instanceof \util\Date;

XPClass::forName('util.Date')->isAssignableFrom($date->getClass());
```