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.4.0.0 (5.4.7431.3055)
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