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

x/fun/filterable.ts>filter

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
function filter
import { filter } from "https://deno.land/x/fun@v2.0.0/filterable.ts";

Type Parameters

U extends Kind
V extends Kind

Parameters

unnamed 0: Mappable<U>
unnamed 1: Filterable<V>

Returns

<A>(predicate: Predicate<A>) => <B = never, C = never, D = unknown, E = unknown, J = never, K = never, L = unknown, M = unknown>(ua: $<U, [$<V, [A, B, C], [D], [E]>, J, K], [L], [M]>) => $<U, [$<V, [A, B, C], [D], [E]>, J, K], [L], [M]>