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);