MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​ComparersIType­ComparerIs
Open sandboxFocus

ITypeComparer.Is Method

Is(IType, IType, ConversionKind)

Equivalent to the is operator in C#. Gets a value indicating whether the left IType is assignable to right IType.

Declaration
bool Is(IType left, IType right, ConversionKind kind)
Parameters
Type Name Description
IType left
IType right
ConversionKind kind
Returns
Type Description
Boolean

Is(IType, Type, ConversionKind)

Equivalent to the is operator in C#. Gets a value indicating whether the left Type is assignable to right Type.

Declaration
bool Is(IType left, Type right, ConversionKind kind)
Parameters
Type Name Description
IType left
Type right
ConversionKind kind
Returns
Type Description
Boolean