function assertInstanceOfimport { assertInstanceOf } from "https://deno.land/x/fastro@v0.74.4/http/deps.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>