# `AgentBlueprintProtocol.BoundsAlgebra.Bound`
[🔗](https://github.com/baselabs/agent_blueprint_protocol/blob/v1.1.0/lib/agent_blueprint_protocol/bounds_algebra.ex#L36)

This struct represents one named bound and its value.

Use it when inspecting a bound in a validated bound set.

This module does not authorize operations.

## Example

```elixir
%AgentBlueprintProtocol.BoundsAlgebra.Bound{name: :max_tokens, class: :operational, unit: :token, value: 1000}
```

# `t`
*since 1.0.0* 

```elixir
@type t() :: %AgentBlueprintProtocol.BoundsAlgebra.Bound{
  class: :operational | :protected,
  name: atom(),
  unit: :count | :millisecond | :token | :money | :ordinal,
  value: term()
}
```

The public data type for AgentBlueprintProtocol.BoundsAlgebra.Bound.

# `narrower`
*since 1.0.0* 

```elixir
@spec narrower(t(), t()) :: boolean()
```

Reports whether the first bound is strictly narrower than the second.

## Example

```elixir
narrower = %AgentBlueprintProtocol.BoundsAlgebra.Bound{
  name: :max_tokens,
  class: :operational,
  unit: :token,
  value: 100
}
wider = %{narrower | value: 200}
AgentBlueprintProtocol.BoundsAlgebra.Bound.narrower(narrower, wider)
```

---

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