Examine whether the extension type allows the target type.
This is the extension type.
The type to be examined.
Optional
Acceptable option: 0 = Keep existing, 1 = Create class type.
Error object or 'undefined' on success.
Examine whether the extension type allows the target type.