Array.exists2<'T1,'T2> Function (F#)
Visual Studio 2010
Tests if any pair of corresponding elements of the arrays satisfies the given predicate.
Namespace/Module Path: Microsoft.FSharp.Collections.Array
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
Array.exists2 : ('T1 -> 'T2 -> bool) -> 'T1 [] -> 'T2 [] -> bool
// Usage:
Array.exists2 predicate array1 array2
The predicate is applied to matching elements in the two collections up to the lesser of the two lengths of the collections. If any application returns true then the overall result is true and no further elements are tested. Otherwise, if one collection is longer than the other then the ArgumentException exception is raised. Otherwise, false is returned.
This function is named Exists2 in compiled assemblies. If you are accessing the member from a language other than F#, or through reflection, use this name.