Compose

Any unary transform from the pipe package can be used in composition.

import {upper, trim} from "zurch/pipe";

const cleaner = (upper . trim)

cleaner("xxx ") === "XXX"

Last updated