function assertInstanceOfimport { assertInstanceOf } from "https://dotland.deno.dev/std@0.181.0/testing/asserts.ts"; assertInstanceOf<T extends AnyConstructor>(actual: unknown,expectedType: T,msg?,): asserts actual is GetConstructorType<T>Make an assertion that obj is an instance of type. If not then throw. Type ParametersT extends AnyConstructorParametersactual: unknownexpectedType: Toptionalmsg = [UNSUPPORTED]Returnsasserts actual is GetConstructorType<T>