Skip to content

joinNonEmpty

joinNonEmpty(values, separator): string

Defined in: packages/core/src/string/join-non-empty.ts:8

Joins non-empty strings from an array using the specified separator.

readonly (string | null | undefined)[]

The array of strings to join.

string

The separator to use between non-empty strings.

string

The joined string.