# KEYC_IS_TYPE

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L154
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-define-tmux-h-keyc_is_type/

```c
#define KEYC_IS_TYPE(k, t) (((k) & KEYC_MASK_TYPE) == KEYC_SHIFT_TYPE(t))
```

## Referenced declarations

- [`KEYC_MASK_TYPE`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_mask_type/) (constant)
- [`KEYC_SHIFT_TYPE`](/en/tmux/3.7c/reference/c-define-tmux-h-keyc_shift_type/) (constant)
