Interface JoinOptions<T>

interface JoinOptions<T> {
    appendNewLineIfNotEmpty?: true;
    filter?: ((element: T, index: number, isLast: boolean) => boolean);
    prefix?: Generated | ((element: T, index: number, isLast: boolean) => Generated);
    separator?: Generated;
    skipNewLineAfterLastItem?: true;
    suffix?: Generated | ((element: T, index: number, isLast: boolean) => Generated);
}

Type Parameters

  • T

Properties

appendNewLineIfNotEmpty?: true
filter?: ((element: T, index: number, isLast: boolean) => boolean)
prefix?: Generated | ((element: T, index: number, isLast: boolean) => Generated)
separator?: Generated
skipNewLineAfterLastItem?: true
suffix?: Generated | ((element: T, index: number, isLast: boolean) => Generated)