# OPTIONS_IS_NUMBER

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L74
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-define-options-c-options_is_number/

```c
#define OPTIONS_IS_NUMBER(o) ((o)->tableentry != NULL &&                 \
    ((o)->tableentry->type == OPTIONS_TABLE_NUMBER ||       \
    (o)->tableentry->type == OPTIONS_TABLE_KEY ||       \
    (o)->tableentry->type == OPTIONS_TABLE_COLOUR ||        \
    (o)->tableentry->type == OPTIONS_TABLE_FLAG ||      \
    (o)->tableentry->type == OPTIONS_TABLE_CHOICE))
```

## Referenced by

- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function)
- [`options_set_number`](/en/tmux/latest/reference/c-function-options_set_number/) (function)
- [`options_value_to_string`](/en/tmux/latest/reference/c-function-options-c-options_value_to_string/) (function)

## Referenced declarations

- [`OPTIONS_TABLE_CHOICE`](/en/tmux/latest/reference/c-enum-options_table_type-options_table_choice/) (constant)
- [`OPTIONS_TABLE_COLOUR`](/en/tmux/latest/reference/c-enum-options_table_type-options_table_colour/) (constant)
- [`OPTIONS_TABLE_FLAG`](/en/tmux/latest/reference/c-enum-options_table_type-options_table_flag/) (constant)
- [`OPTIONS_TABLE_KEY`](/en/tmux/latest/reference/c-enum-options_table_type-options_table_key/) (constant)
- [`OPTIONS_TABLE_NUMBER`](/en/tmux/latest/reference/c-enum-options_table_type-options_table_number/) (constant)
