• Creates a function that returns value.

    Type Parameters

    • T

    Parameters

    • value: T

      The value to return from the new function.

    Returns (() => T)

    Returns the new function.

      • (): T
      • Returns T