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

API Browser

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

Return value

Boolean