# gpui: Add \`is_action_available_in\` function \(\#45029\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3a013d8090e1a96461c66c6688ddd6e51bd5f896)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3a013d8090e1a96461c66c6688ddd6e51bd5f896

Requested commit: 3a013d8090e1a96461c66c6688ddd6e51bd5f896

Commit: 3a013d8090e1a96461c66c6688ddd6e51bd5f896

Tree: 23805374ce6567bf9925207fa049d0fc2c9e6fc3

Author: Anthony Eid

Committer: GitHub

## Message

```
gpui: Add `is_action_available_in` function (#45029)

This compliments the `window.is_action_available` function that already
exists.

Release Notes:

- N/A
```

## Parents

- [ab4cd95e9c05fa786dc36934b683995e13c4a99f](https://git.cafe/gitcafe/zed/commit/ab4cd95e9c05fa786dc36934b683995e13c4a99f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3a013d8090e1a96461c66c6688ddd6e51bd5f896?format=markdown)
