Module

x/justaos/test.deps.ts>assertInstanceOf

A command line interface for justaos
Latest
function assertInstanceOf
import { assertInstanceOf } from "https://dotland.deno.dev/x/justaos@v0.1.3/test.deps.ts";

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

Type Parameters

T extends AnyConstructor

Parameters

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

Returns

asserts actual is GetConstructorType<T>