IsConvertibleTo(TypeBase)
Method in TypeBase
Summary
Checks if this type is convertible to the type represented byotherType .
public bool IsConvertibleTo(TypeBase otherType)Remarks
A type is convertible to another type if:
there is an explicit conversion available, or
it is a descendant of that type, or
the two types are identical.
Parameters
Name
Description
Yarn.TypeBase otherType
The type to check.
Returns
true if this type is convertible tootherType .
Last updated
Was this helpful?
