# `VulnCheck.Types.DynamicCall`
[🔗](https://github.com/Voskan/vulncheck/blob/v1.0.1/lib/vulncheck/types/graph.ex#L58)

A dynamic dispatch site (`apply/2,3` or `mod.fun(...)` with a non-literal
module or function) that could not be resolved statically. `min_arity`
is the number of arguments known to be passed when the exact arity is
not (`apply(m, f, [env | rest])` passes at least one).

# `t`

```elixir
@type t() :: %VulnCheck.Types.DynamicCall{
  arity: non_neg_integer() | nil,
  caller: VulnCheck.Types.MFA.t(),
  file: String.t() | nil,
  kind: :module_function | :function_value,
  known_function: String.t() | nil,
  known_module: String.t() | nil,
  line: non_neg_integer() | nil,
  min_arity: non_neg_integer()
}
```

# `arity_compatible?`

```elixir
@spec arity_compatible?(t(), non_neg_integer()) :: boolean()
```

`true` when a function of `arity` may be the target of the call.

---

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