• Transforms the list either the current value exists or not.

    Type Parameters

    • U

    Parameters

    • def: (() => U)

      The function to produce default value.

        • (): U
        • Returns U

    Returns (<T>(mapper) => ((list) => U))

    The transformed value.

      • <T>(mapper): ((list) => U)
      • Type Parameters

        • T

        Parameters

        • mapper: ((x, xs) => U)
            • (x, xs): U
            • Parameters

              Returns U

        Returns ((list) => U)

          • (list): U
          • Parameters

            Returns U

Generated using TypeDoc