function assertInstanceOfimport { assertInstanceOf } from "https://deno.land/x/lume@v1.18.2/deps/assert.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>