function isimport { is } from "https://deno.land/x/rambda@9.4.1/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>