Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Function1Static

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

Hierarchy

  • Function1Static

Index

Methods

Methods

constant

  • The constant function of one parameter: will always return the value you give, no matter the parameter it's given.

    Type parameters

    • U

    • T

    Parameters

    • val: T

    Returns Function1<U, T>

id

of

Generated using TypeDoc