Returns
True if at least one element of an array is
False.
arrProduct is array of Product
// Return True if at least one product is no longer available to notify the manager
IF CheckAnyFalse(arrProduct, AProduct => AProduct.Stock > 0) THEN
// Alert
END
Syntax
<Result> = CheckAnyFalse(<Source> [, <Operation>])
<Result>: Boolean
- True if at least one element of the specified array is False,
- False otherwise.
<Source>: Array
Name of the Array variable to be checked.
<Operation>: WLanguage procedure
WLanguage procedure to run: - If this parameter is not specified, <Source> must correspond to an array of booleans.
- If this parameter is specified, the WLanguage procedure is called for each element of the array and must return a boolean.
This parameter can correspond to a local or global WLanguage procedure, an internal procedure or a lambda procedure.
Remarks
Sequence of functionsYou can use array functions in a sequence.
The following functions can be used in a sequence:
This sequence can be used as a source for a FOR ALL statement or it can end with one of the following functions:
Example:
gnMean = garrUser.Filter(cbFilter).Map(cbMap).Mean()
Business / UI classification: Neutral code