Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>is

Faster and smaller alternative to Ramda
Latest
function is
import { is } from "https://deno.land/x/rambda@9.4.1/files/index.d.ts";

Type Parameters

C extends () => any

Parameters

targetPrototype: C
val: any

Returns

val is ReturnType<C>

Type Parameters

C extends new () => any

Parameters

targetPrototype: C
val: any

Returns

val is InstanceType<C>

Type Parameters

C extends () => any

Parameters

targetPrototype: C

Returns

(val: any) => val is ReturnType<C>

Type Parameters

C extends new () => any

Parameters

targetPrototype: C

Returns

(val: any) => val is InstanceType<C>