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

    Function mapOption

    • Transforms the Map with lossy conversion mapper.

      Type Parameters

      • V
      • W

      Parameters

      • mapper: (value: V) => Option.Option<W>

        Function to transform into W, but optional. If it returned None, the value will be dropped.

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

      A new transformed Map.