Function createIsEncode

  • Creates a reusable isEncode function.

    Returns never

    Nothing until you configure the generic argument T

    You must configure the generic argument T

    compile error

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

  • Creates a reusable isEncode function.

    Type Parameters

    • T

      Target type

    Returns ((input: T) => Uint8Array | null)

    A reusable isEncode function

      • (input): Uint8Array | null
      • Parameters

        • input: T

        Returns Uint8Array | null

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