(before: string | null, after: string | null)
| 43 | * @returns concatenated string. |
| 44 | */ |
| 45 | export function concatStringsWithSpace(before: string | null, after: string | null): string { |
| 46 | if (!before) return after || ''; |
| 47 | if (!after) return before; |
| 48 | return `${before} ${after}`; |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Ellipses the string in the middle when longer than the max length |
no outgoing calls
no test coverage detected
searching dependent graphs…