[**@bondsports/general**](../README.md) • **Docs**

***

[@bondsports/general](../globals.md) / titleCase

# Function: titleCase()

> **titleCase**(`text`): `string`

Converts a string to title case.

## Parameters

• **text**: `string`

The input string.

## Returns

`string`

The string converted to title case.

## Defined in

[utils/string.util.ts:10](https://github.com/Bond-Sports/bondUtils/blob/545f16ceb055481acfd7641d7809c0f252d3a5e6/packages/general/src/utils/string.util.ts#L10)
