function isimport { is } from "https://dotland.deno.dev/x/rambda@v9.2.0/immutable.d.ts"; is<C extends () => any>(targetPrototype: C, val: any): val is ReturnType<C>It returns true if x is instance of targetPrototype. is<C extends new () => any>(targetPrototype: C, val: any): val is InstanceType<C>is<C extends () => any>(targetPrototype: C): (val: any) => val is ReturnType<C>is<C extends new () => any>(targetPrototype: C): (val: any) => val is InstanceType<C>It returns true if x is instance of targetPrototype. Type ParametersC extends () => anyParameterstargetPrototype: Cval: anyReturnsval is ReturnType<C>Type ParametersC extends new () => anyParameterstargetPrototype: Cval: anyReturnsval is InstanceType<C>Type ParametersC extends () => anyParameterstargetPrototype: CReturns(val: any) => val is ReturnType<C>Type ParametersC extends new () => anyParameterstargetPrototype: CReturns(val: any) => val is InstanceType<C>