# is_recipient_allowed · FT4 Rell API · Chromia Docs (concept)

> function is_ recipient_ allowed(rule: rule , recipient_ id: byte_ array, sender_ id: byte_ array): boolean Utility function which returns whether a rule al

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/is_recipient_allowed/

FUNCTION

# is\_recipient\_allowed

```signature
function is_recipient_allowed(rule: rule, recipient_id: byte_array, sender_id: byte_array): boolean
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/strategies/transfer/config.rell#lines-47)

Utility function which returns whether a rule allows a certain account ID as recipient.
Since some rules allow all recipients as long as the sender is the same as the recipient,
the sender ID is needed as well.

**Parameters**

* **rule** — the rule to check
* **recipient\_id** — the recipient ID to check
* **sender\_id** — the sender ID to check

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts.strategies.transfer/is_recipient_allowed.html)Generated API reference, mirrored from the live docs
