plainfp - v0.1.0
    Preparing search index...

    Function constant

    • Build a nullary function that always returns the captured value. Handy for supplying defaults to APIs that expect a thunk.

      Type Parameters

      • T

      Parameters

      • value: T

      Returns () => T