# `Backplane.JsonSchema.Compiler.Predicates.MultipleOf`

Validates numbers against the JSON Schema `multipleOf` rule.
Handles arbitrary precision if `Decimal` is available.
Falls back to native arithmetic with overflow protection if not.

# `valid?`

```elixir
@spec valid?(number() | String.t() | Decimal.t(), number() | String.t() | Decimal.t()) ::
  boolean()
```

Checks if `instance` is a multiple of `divisor`.
Uses `Decimal` for high precision.

---

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