aboutsummaryrefslogtreecommitdiff
path: root/doc/next/6-stdlib/99-minor/unicode/utf16/44940.md
blob: e0667845883d3ea3eda4b1e59f6a18975d8e15ac (plain)
1
2
3
The [RuneLen] function returns the number of 16-bit words in
the UTF-16 encoding of the rune. It returns -1 if the rune
is not a valid value to encode in UTF-16.