Method
AssignableTo
abstract virtual func AssignableTo(target: TypeInfo) -> bool
Declaring type: TypeInfo
Module: System.Introspection
Assembly: System.Runtime.dll
Source file: Descriptors.rvn
Defined by TypeInfo.AssignableTo · Required implementation (no default).
Interface implementation: Required implementation (no default).
Returns whether this type can be assigned to a variable of target's type.
Parameters
| Name | Type | Description |
|---|---|---|
target |
TypeInfo |