Preparing search index...
The search index is not available
@spinque/query-api
@spinque/query-api
truncate
Function truncate
Truncates a piece of text to the desired maximum length and appends '...' to the end.
truncate
(
text
,
size
?
)
:
string
Parameters
text
:
string
size
:
number
= 512
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@spinque/query-api
Loading...
Truncates a piece of text to the desired maximum length and appends '...' to the end.