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

x/ayonli_jsext/pipe.ts>Pipeline#pipe

A JavaScript extension package for building strong and modern applications.
Latest
method Pipeline.prototype.pipe
import { Pipeline } from "https://deno.land/x/ayonli_jsext@v0.9.72/pipe.ts";

Calls a function using the current value as its argument and returns a new Pipeline instance that holds the result.

Type Parameters

R
optional
A extends any[] = any[]

Parameters

fn: (value: T, ...args: A) => R
...args: A