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.
Parameters
Section titled “Parameters”values
Section titled “values”readonly (string | null | undefined)[]
The array of strings to join.
separator
Section titled “separator”string
The separator to use between non-empty strings.
Returns
Section titled “Returns”string
The joined string.