Expand description
§Short text
The one way to shorten an identifier (address, hash, mint) for a narrow column, and the one ellipsis every surface uses.
Constants§
- ELLIPSIS
- Marks text that was shortened or cut.
Functions§
- abbreviate
idshortened to its start,ELLIPSISand its end (0x742d…3c2b), oriditself when that would not be shorter. It counts characters, so any text is safe.