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

    Function mapMutRef

    • Reads a value from the reference and converts by fn. It throws on the referent value was not initialized or dropped.

      Type Parameters

      • A
      • B

      Parameters

      • fn: (a: A) => B

        A mapping function.

      Returns <S>(ref: MutRef<S, A>) => Mut.Mut<S, B>

      The reading and mapping operation which results B.