@telostat/prelude - v0.7.0
    Preparing search index...

    Variable alwaysConst

    always: <T>(x: T) => <U>(y: U) => T

    Returns a function that always returns the same value. Also known as const in other languages

    Type Declaration

      • <T>(x: T): <U>(y: U) => T
      • Type Parameters

        • T

        Parameters

        Returns <U>(y: U) => T