• Filters the Map, picking only entries matching the predicate.

    Type Parameters

    • K

    • V

    Parameters

    • pred: ((key) => ((value) => boolean))

      Predicate whether picks an entry, key and value.

        • (key): ((value) => boolean)
        • Parameters

          • key: K

          Returns ((value) => boolean)

            • (value): boolean
            • Parameters

              • value: V

              Returns boolean

    Returns ((m) => Map<K, V>)

    A new filtered Map.

      • (m): Map<K, V>
      • Parameters

        • m: Map<K, V>

        Returns Map<K, V>

Generated using TypeDoc