ILNumerics Ultimate VS

BaseArrayIsOfTypeElementType Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Tests if this array stores elements of type ElementType.

[ILNumerics Core Module]

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

public abstract bool IsOfType<ElementType>()

Type Parameters

ElementType
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.
Remarks

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

Reference