pocketpy/docs/modules/unicodedata.md
2025-05-06 19:23:24 +08:00

16 lines
285 B
Markdown

---
icon: package
label: unicodedata
---
### `unicodedata.east_asian_width(char: str) -> str`
Returns the East Asian width of a Unicode character. The width is one of the following values:
- `F`: Fullwidth
- `H`: Halfwidth
- `N`: Neutral
- `Na`: Narrow
- `W`: Wide
- `A`: Ambiguous