次の方法で共有


Map.exists<'Key,'T> 関数 (F#)

指定された述語がマップ内のいずれかの束縛について true を返す場合に true を返します。

名前空間/モジュール パス: Microsoft.FSharp.Collections.Map

アセンブリ: FSharp.Core (FSharp.Core.dll 内)

// Signature:
Map.exists : ('Key -> 'T -> bool) -> Map<'Key,'T> -> bool (requires comparison)

// Usage:
Map.exists predicate table

パラメーター

  • predicate
    型: 'Key -> 'T ->bool

    入力要素をテストする関数。

  • table
    型: Map<'Key,'T>

    入力マップ。

戻り値

述語がキーと値のいずれかのペアについて true を返す場合は true。

解説

この関数は、コンパイルされたアセンブリでは Exists という名前です。F# 以外の言語から、またはリフレクションを使用してこの関数にアクセスする場合は、この名前を使用します。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: ポータブル 2.0、4.0

参照

関連項目

Collections.Map モジュール (F#)

Microsoft.FSharp.Collections 名前空間 (F#)