Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

curry

  • curry<T1, R>(func: function, arity: undefined | number): CurriedFunction1<T1, R>
  • curry<T1, T2, R>(func: function, arity: undefined | number): CurriedFunction2<T1, T2, R>
  • curry<T1, T2, T3, R>(func: function, arity: undefined | number): CurriedFunction3<T1, T2, T3, R>
  • curry<T1, T2, T3, T4, R>(func: function, arity: undefined | number): CurriedFunction4<T1, T2, T3, T4, R>
  • curry<T1, T2, T3, T4, T5, R>(func: function, arity: undefined | number): CurriedFunction5<T1, T2, T3, T4, T5, R>
  • curry<T1, T2, T3, T4, T5, T6, R>(func: function, arity: undefined | number): CurriedFunction6<T1, T2, T3, T4, T5, T6, R>
  • curry<T1, T2, T3, T4, T5, T6, T7, R>(func: function, arity: undefined | number): CurriedFunction7<T1, T2, T3, T4, T5, T6, T7, R>
  • curry<T1, T2, T3, T4, T5, T6, T7, T8, R>(func: function, arity: undefined | number): CurriedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>
  • Type parameters

    • T1

    • R

    Parameters

    • func: function
        • (t1: T1): R
        • Parameters

          • t1: T1

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction1<T1, R>

    Returns the new curried function.

  • Type parameters

    • T1

    • T2

    • R

    Parameters

    • func: function
        • (t1: T1, t2: T2): R
        • Parameters

          • t1: T1
          • t2: T2

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction2<T1, T2, R>

  • Type parameters

    • T1

    • T2

    • T3

    • R

    Parameters

    • func: function
        • (t1: T1, t2: T2, t3: T3): R
        • Parameters

          • t1: T1
          • t2: T2
          • t3: T3

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction3<T1, T2, T3, R>

  • Type parameters

    • T1

    • T2

    • T3

    • T4

    • R

    Parameters

    • func: function
        • (t1: T1, t2: T2, t3: T3, t4: T4): R
        • Parameters

          • t1: T1
          • t2: T2
          • t3: T3
          • t4: T4

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction4<T1, T2, T3, T4, R>

  • Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    • R

    Parameters

    • func: function
        • (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R
        • Parameters

          • t1: T1
          • t2: T2
          • t3: T3
          • t4: T4
          • t5: T5

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction5<T1, T2, T3, T4, T5, R>

  • Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    • T6

    • R

    Parameters

    • func: function
        • (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6): R
        • Parameters

          • t1: T1
          • t2: T2
          • t3: T3
          • t4: T4
          • t5: T5
          • t6: T6

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction6<T1, T2, T3, T4, T5, T6, R>

  • Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    • T6

    • T7

    • R

    Parameters

    • func: function
        • (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7): R
        • Parameters

          • t1: T1
          • t2: T2
          • t3: T3
          • t4: T4
          • t5: T5
          • t6: T6
          • t7: T7

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction7<T1, T2, T3, T4, T5, T6, T7, R>

  • Type parameters

    • T1

    • T2

    • T3

    • T4

    • T5

    • T6

    • T7

    • T8

    • R

    Parameters

    • func: function
        • (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8): R
        • Parameters

          • t1: T1
          • t2: T2
          • t3: T3
          • t4: T4
          • t5: T5
          • t6: T6
          • t7: T7
          • t8: T8

          Returns R

    • Optional arity: undefined | number

    Returns CurriedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>