Function functionIdentityAs

  • A function that returns the given value casted to the given type.

    Returns (<T>(value) => T)

    a function that returns the given value casted to the given type.

      • <T>(value): T
      • Type Parameters

        • T

        Parameters

        • value: unknown

        Returns T

Generated using TypeDoc