Final class FH\F

Functions that operate on functions.

Static methods

id<T>(): (function(T): T)
Return a function that returns its input.
constant<TI, TO>(TO $x): (function(TI): TO)
Return a function that returns the same value for any input.