Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Very Popular
Go to Latest
function assertNotInstanceOf
import { assertNotInstanceOf } from "https://deno.land/x/redis@v0.27.0/vendor/https/deno.land/std/testing/asserts.ts";

Make an assertion that obj is not an instance of type. If so, then throw.

Type Parameters

T extends AnyConstructor

Parameters

actual: unknown
unexpectedType: T
optional
msg = [UNSUPPORTED]