function assertInstanceOfimport { assertInstanceOf } from "https://deno.land/std@0.145.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. 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>