• 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) => B)

      A mapping function.

        • (a): B
        • Parameters

          • a: A

          Returns B

    Returns (<S>(ref) => Mut<S, B>)

    The reading and mapping operation which results B.

      • <S>(ref): Mut<S, B>
      • Type Parameters

        • S

        Parameters

        Returns Mut<S, B>

Generated using TypeDoc