# Sink.mapInput

Alias for `map`, named for the input-side direction of the transformation.

## Signatures

```ts
export declare const mapInput: typeof map;
```

## Why

`mapInput` makes contravariant Sink pipelines easier to read beside output-mapping APIs.

## Ownership and lifetime

It is exactly `map`: synchronous, one-for-one, ordered, and resource-free.

## Examples

```ts
import { Effect } from "effect"
import * as Sink from "@typed/fx/Sink"
const numbers = Sink.make(Effect.logError, (value: number) => Effect.log(value))
const strings = Sink.mapInput(numbers, Number)
```
