## utils


[utils](utils.md#gdtest_ref_module_expand.utils)


Usage


Utility functions for the package.


## Functions

| Name | Description |
|----|----|
| [util_a()](#util_a) | Double the input value. |
| [util_b()](#util_b) | Reverse the input text. |
| [util_c()](#util_c) | Count the number of items in a list. |

------------------------------------------------------------------------


#### util_a()


Double the input value.


Usage


``` python
util_a(value)
```


##### Parameters


`value: int`  
The value to double.


##### Returns


`int`  
The doubled value.


##### Examples

``` python
>>> util_a(5)
```

10

------------------------------------------------------------------------


#### util_b()


Reverse the input text.


Usage


``` python
util_b(text)
```


##### Parameters


`text: str`  
The text to reverse.


##### Returns


`str`  
The reversed text.


##### Examples

``` python
>>> util_b("abc")
```

'cba'

------------------------------------------------------------------------


#### util_c()


Count the number of items in a list.


Usage


``` python
util_c(items)
```


##### Parameters


`items: list`  
The list of items to count.


##### Returns


`int`  
The number of items.


##### Examples

``` python
>>> util_c([1, 2, 3])
```

3
