Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "helpers/textTruncate"

Index

Functions

Functions

textTructate

  • textTructate(text: string, length: number): string
  • Truncate text by given length;

    Parameters

    • text: string

      Text to truncate.

    • length: number

      Truncate length.

    Returns string

    Truncated string.

Generated using TypeDoc