Examines if the extension type matches the target.
This is the extension type.
The type to be inspected.
Optional
Acceptable option: 0 = Keep existing, 1 = Create class type.
Error object or 'undefined' on success.
Examines if the extension type matches the target.