# Module /text/case

Identifier case conversions across camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, and kebab-case.

```tangu
(use /text/case)
```

## Functions & symbols

### camel-split

`(camel-split text)`

Splits a camelCase or PascalCase identifier into its constituent word slices.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `text` | `Any` | no | — |

### camel-to-kebab

`(camel-to-kebab text)`

Converts a `camelCase` or `PascalCase` identifier to `kebab-case`.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `text` | `Any` | no | — |

### camel-to-snake

`(camel-to-snake text)`

Converts a `camelCase` or `PascalCase` identifier to `snake_case`.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `text` | `Any` | no | — |

### is-screaming?

`(is-screaming? text)`

Returns `true` if `text` matches `SCREAMING-CASE` (uppercase ASCII letters, digits, and hyphens).

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `text` | `Any` | no | — |

### kebab-join

`(kebab-join words)`

Joins an Array of words into a lowercase `kebab-case` identifier.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `words` | `Any` | no | — |

### kebab-split

`(kebab-split phrase)`

Splits a `kebab-case` string on hyphens (`-`) omitting empty segments.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `phrase` | `Any` | no | — |

### snake-join

`(snake-join words)`

Joins an Array of words into a lowercase `snake_case` identifier.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `words` | `Any` | no | — |

### snake-split

`(snake-split phrase)`

Splits a `snake_case` string on underscores (`_`) omitting empty segments.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `phrase` | `Any` | no | — |

### snake-to-kebab

`(snake-to-kebab text)`

Converts a `snake_case` identifier to `kebab-case`.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `text` | `Any` | no | — |

### to-kebab

`(to-kebab text)`

Normalizes an arbitrary string (spaces, snake_case, camelCase, kebab-case) to lowercase `kebab-case`.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `text` | `Any` | no | — |
