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