Pacote

    Function reduceRight

    • Works like reduce(), but the list is iterated starting at the tail.

      Type Parameters

      • T
      • R

      Parameters

      • callback: ReduceCallback<T, R>

        Callback function.

      • initial: R

        Initial value.

      • list: LinkedList<T>

        Linked list.

      Returns R

      Result of the last execution of the callback.

    MMNEPVFCICPMFPCPTTAAATR