Function areTheSame

  • Checks whether two values are the same. I.e. strictly equal to each other.

    Type Parameters

    • T

      A type of values.

    Parameters

    • first: T

      First value to compare.

    • second: T

      Second value to compare.

    Returns boolean

    true if first === second, or false otherwise.

Generated using TypeDoc