Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Function3Static

This is the type of the Function3 constant, which offers some helper functions to deal with Function3 including the ability to build Function3 from functions using Function3Static.of. It also offers some builtin functions like Function3Static.constant.

Hierarchy

  • Function3Static

Index

Methods

Methods

constant

  • constant<T1, T2, T3, R>(val: R): Function3<T1, T2, T3, R>
  • The constant function of three parameters: will always return the value you give, no matter the parameters it's given.

    Type parameters

    • T1

    • T2

    • T3

    • R

    Parameters

    • val: R

    Returns Function3<T1, T2, T3, R>

of

  • of<T1, T2, T3, R>(fn: function): Function3<T1, T2, T3, R>
  • Take a three-parameter function and lift it to become a Function3, enabling you to call Function3.andThen and other such methods on it.

    Type parameters

    • T1

    • T2

    • T3

    • R

    Parameters

    • fn: function
        • (x: T1, y: T2, z: T3): R
        • Parameters

          • x: T1
          • y: T2
          • z: T3

          Returns R

    Returns Function3<T1, T2, T3, R>

Generated using TypeDoc