Function createParameter

  • Creates a reusable parameter function.

    Returns never

    You must configure the generic argument T

    compile error

    Jeongho Nam - https://github.com/samchon

  • Creates a reusable parameter function.

    Type Parameters

    • T extends null | Type

      The type of the parameter value

    Returns ((input: string) => T)

    A reusable parameter function

      • (input): T
      • Parameters

        • input: string

        Returns T

    Jeongho Nam - https://github.com/samchon