Validates the @type property of an object against an expected type.
@type
If the @type property exists and does not match the expectedType, an error is logged to the issue tracker.
expectedType
Validates the
@type
property of an object against an expected type.