Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/redis/vendor/https/deno.land/std/testing/asserts.ts>assertStrictEquals

πŸ¦• Redis client for Deno πŸ•
Very Popular
Go to Latest
function assertStrictEquals
import { assertStrictEquals } from "https://deno.land/x/redis@v0.27.0/vendor/https/deno.land/std/testing/asserts.ts";

Make an assertion that actual and expected are strictly equal. If not then throw.

import { assertStrictEquals } from "./asserts.ts";

assertStrictEquals(1, 2)

Parameters

actual: unknown
expected: T
optional
msg: string

Returns

asserts actual is T