# `Alternera.Plugin.Input`
[🔗](https://github.com/10e-ab/alternera-sdk/blob/v0.9.0/alternera_plugin_sdk/lib/alternera/plugin/input.ex#L1)

An input of the call a pipeline runs in, as a step reads it: the rule for
its name and its value at a path. `Plugin.Provisional.Inputs` parses and
resolves the inputs a step passes.

# `fetch`

```elixir
@spec fetch(map() | nil, String.t(), Alternera.Plugin.JsonPath.segments()) ::
  {:ok, term()} | :error
```

An input's value at `segments` inside it, as a variable is read:
`{:ok, value}` or `:error` when it was not passed or the path leads
nowhere.

# `name?`

```elixir
@spec name?(term()) :: boolean()
```

Whether `name` is a valid input name (as a variable name is).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
