@mikuroxina/mini-fn
    Preparing search index...

    Function filterWithKey

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

      Type Parameters

      • K
      • V

      Parameters

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

        Predicate whether picks an entry, key and value.

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

      A new filtered Map.