Skip to content

Repository files navigation

@lucid-softworks/compose

Compose up to four precisely typed unary functions from right to left. Calling compose() returns a generic identity function.

import { compose } from "@lucid-softworks/compose";

const labelLength = compose(String, (value: { label: string }) => value.label);

Releases

Packages

Contributors

Languages