matchType method
Matches expected type to an actual type. The types can be specified as types, type names or TypeCode.
expectedType
an expected type to match.actualType
an actual type to match.actualValue
an optional value to match its type to the expected one. Returns true if types are matching and false if they don't.
See matchTypeByName See matchTypeByName (for matching by types' string names)