Skip to content

Interface: TruncateMiddleOptions ​

Defined in: utils/string/truncateMiddle.ts:4

Options for truncateMiddle.

Properties ​

ellipsis? ​

optional ellipsis: string

Defined in: utils/string/truncateMiddle.ts:10

Ellipsis string inserted in the middle.

Defaults to the single-character "…".

Released under the MIT License.