Function createEquals

  • Creates a reusable equals 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 equals function.

    Type Parameters

    • T

      Type of the input value

    Returns ((input: unknown) => input is T)

    A reusable equals function

      • (input): input is T
      • Parameters

        • input: unknown

        Returns input is T

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