@kayahr/assert
    Preparing search index...

    Function assertNotSame

    • Asserts that actual value is not the same as the expected value.

      Type Parameters

      • T

      Parameters

      • actual: T

        The value to check.

      • expected: unknown

        The expected value to check against.

      • Optionalreason: string

        Optional reason added to exception message when assertion fails.

      Returns void

      AssertionError when actual value is the same as the expected value.