ILNumerics Ultimate VS

ConcreteRetArrayT1, LocalT, InT, OutT, RetT, StorageTIsOfTypeElementType Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Tests if this array stores elements of type ElementType. Does NOT release the array!

[ILNumerics Core Module]

Namespace:  ILNumerics.Core.Arrays
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: (5.5.7503.3146)

public override bool IsOfType<ElementType>()

Type Parameters

Type to test against the actual element type of this array.

Return Value

Type: Boolean
True if the elements of this array are of type ElementType. False otherwise.

Regular dense arrays can be tested for a specific type by providing the assumed element type as generic type parameter ElementType.

To test if an array is a logical array, provide Boolean as ElementType.

In order to test for cell types an ElementType of BaseArray is to be provided.

[ILNumerics Core Module]

See Also