matchTypeByName method
Matches expected type to an actual type.
expectedType
an expected type name to match.actualType
an actual type to match defined by type code.actualValue
an optional value to match its type to the expected one. Returns true if types are matching and false if they don't.