Cotal TypeScript packages
    Preparing search index...

    Function boundedValue

    • value as a message repeats it: whole up to max characters, else its first max and its length, as abc… (100000 characters), so an over-long argument does not fill the terminal with one line. It bounds what is shown only; the caller still checks and uses the value whole.

      Parameters

      • value: string
      • max: number

      Returns string