Skip to Content

hydra


Function: truncate()

truncate(text, __namedParameters): string

Defined in: strings.ts:67

Truncates a text so that it is less than maxLen, keeps words intact

Parameters

ParameterType
textstring
__namedParametersTruncateOptions

Returns

string

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right