Skip to content

truncate

truncate(str, max): string

Defined in: format.ts:36

Truncate string with ellipsis.

string

number

string