A text part that joins the given string list horizontally, separating items using the given separator.
At the key curried you will find a curried version that takes the optional separator as first argument.
curried
Optional
import {Draw} from 'effect-tree'const {drawPart, joinText} = Drawconst part = joinText(['A', 'B', 'C'], '.')expect(drawPart(part)).toEqual(['A.B.C']) Copy
import {Draw} from 'effect-tree'const {drawPart, joinText} = Drawconst part = joinText(['A', 'B', 'C'], '.')expect(drawPart(part)).toEqual(['A.B.C'])
A text part that joins the given string list horizontally, separating items using the given separator.
At the key
curriedyou will find a curried version that takes the optional separator as first argument.