Method in TypeBase
Checks if this type is convertible to the type represented by otherType .
otherType
public bool IsConvertibleTo(TypeBase otherType)
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.
Yarn.TypeBase otherType
The type to check.
true if this type is convertible to otherType .
true
Last updated 2 months ago
Was this helpful?