Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/complaindate/utils/pipePlainDate.ts>pipePlainDate

JavaScript date-time utilities that keeps timezones on the surface
Go to Latest
function pipePlainDate
import { pipePlainDate } from "https://deno.land/x/complaindate@v0.7.2/utils/pipePlainDate.ts";

Get a function curried with a pipeline of functions to apply to its plain-date arguments, from left to right.

Parameters

...fns: Array<(date: T) => T>

Functions that take a plain-date and return a plain-date

Returns

(date: T) => T

A function taking a plain-date to pass through the pipeline