Type Alias JoinOptions

JoinOptions: {
    emptyOutput?: string;
    joinString?: string;
    maxItems?: number;
    maxLength?: number;
}

Type declaration

  • OptionalemptyOutput?: string

    The string that is returned if the input array is empty

    'None'
    
  • OptionaljoinString?: string

    The string to join the items with

    ', '
    
  • OptionalmaxItems?: number

    The maximum number of (array) items to include

    -1
    
  • OptionalmaxLength?: number

    The maximum length of the joined/final string

    -1