Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Function0Static

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

Hierarchy

  • Function0Static

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

    • R

    Parameters

    • val: R

    Returns Function0<R>

of

Generated using TypeDoc