Truncates text based on the given length and adds an ellipsis
truncate("this is very large text") // this ...
Generated using TypeDoc
Truncates text based on the given length and adds an ellipsis
Example