QueryBuilder.Exists<'T,'Q> 方法 (F#)
确定到目前为止所选的任何元素是否满足条件的查询运算符。
Namespace/Module Path:Microsoft.FSharp.Linq
程序集:FSharp.Core(在 FSharp.Core.dll 中)
// Signature:
member this.Exists : QuerySource<'T,'Q> * ('T -> bool) -> bool
// Usage:
queryBuilder.Exists (source, predicate)
参数
source
类型:QuerySource<'T,'Q>在查询。
predicate
类型:'T -> 布尔型测试每个元素的函数。
返回值
true,如果源查询的任何元素满足 predicate。
备注
有关更多信息和示例,请参见 查询表达式(f#)。
平台
Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2
版本信息
F#核心库版本
支持:4.0,可移植