ILNumerics Ultimate VS

RetLogical  Conversion (RetLogical to Boolean)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Convert scalar Logical array to Boolean.

[ILNumerics Core Module]

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

public static implicit operator bool (
	RetLogical A
)

Parameters

A
Type: ILNumericsRetLogical
Source logical array. Must be scalar (i.e.: must have exactly one element).

Return Value

Type: Boolean
Exceptions

ExceptionCondition
InvalidCastException if A has more than one element.
Remarks

Empty arrays or null is also accepted for A. is returned in this case.

[ILNumerics Core Module]

See Also

Reference