Skip to content

Function: strLimit() ​

strLimit(value, size): string

Defined in: src/formatters.ts:49

Limit the number of characters in a string.

Parameters ​

value ​

unknown

The string to limit

size ​

number

The maximum number of characters

Returns ​

string

The limited string

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.