function asserts.assertInstanceOfimport { asserts } from "https://deno.land/x/hex@v0.4.9/functions/tests/deps.ts"; const { assertInstanceOf } = asserts; 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>