Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

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

Return value

Boolean