Type Alias JoinToStringOptions

JoinToStringOptions: {
    limit?: number;
    prefix?: string;
    separator?: string;
    suffix?: string;
    truncated?: string;
}

Options for joinToString.

Type declaration

  • Optionallimit?: number

    The maximum number of elements to append. If the value is negative, all elements will be appended, which is the default.

    {-1}
    
  • Optionalprefix?: string

    The string to use as a prefix for the resulting string.

    {""}
    
  • Optionalseparator?: string

    The string to use as a separator between the elements.

    {","}
    
  • Optionalsuffix?: string

    The string to use as a suffix for the resulting string.

    {""}
    
  • Optionaltruncated?: string

    The string to use as a placeholder for the truncated elements.

    {"..."}