function assertNotStrictEquals
assertNotStrictEquals<T>(): voidMake an assertion that actual and expected are not strictly equal.
If the values are strictly equal then throw.
Examples
Example 1
Example 1
import { assertNotStrictEquals } from "@std/assert/assert_not_strict_equals"; assertNotStrictEquals(1, 1); // Doesn't throw assertNotStrictEquals(1, 2); // Throws
Type Parameters
TParameters
Return Type
void