Open sandboxFocus

Method Is

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 = ConversionKind.Default)
Parameters
Type Name Description
IType left
IType right
ConversionKind kind
Returns
Type Description
bool

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 = ConversionKind.Default)
Parameters
Type Name Description
IType left
Type right
ConversionKind kind
Returns
Type Description
bool