Documentation / @debuffjp/share / xWeight
Function: xWeight()
xWeight(
text):number
Defined in: intent.ts:44
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