function assertNotInstanceOfimport { assertNotInstanceOf } from "https://dotland.deno.dev/std@0.224.0/assert/mod.ts"; assertNotInstanceOf<A, T>(actual: A,unexpectedType: new (...args: any[]) => T,msg?: string,): asserts actual is Exclude<A, T>Make an assertion that obj is not an instance of type. If so, then throw. ExamplesExample 1 import { assertNotInstanceOf } from "https://deno.land/std@0.224.0/assert/assert_not_instance_of.ts"; assertNotInstanceOf(new Date(), Number); // Doesn't throw assertNotInstanceOf(new Date(), Date); // Throws Type ParametersATParametersactual: AunexpectedType: new (...args: any[]) => Toptionalmsg: stringReturnsasserts actual is Exclude<A, T>