# Function: xWeight()

> **xWeight**(`text`): `number`

Defined in: [intent.ts:44](https://github.com/debuffjp/debuff/blob/b018c1a068ef1bc6d0d897e130238baa96957244/packages/share/src/intent.ts#L44)

X's weighted length (twitter-text v3): most Latin, Greek, Cyrillic and similar letters count 1, other code
points (CJK, emoji) count 2. Links typed into the text itself are counted as written, not as 23.

## Parameters

### text

`string`

## Returns

`number`
