effect-tree - v1.0.36
    Preparing search index...

    Function suffixText

    • Combine two text parts horizontally placing the first to the left of the second.

      Parameters

      Returns EndoOf<Text>

      import {Draw} from 'effect-tree'

      const left = Draw.text('foo-')
      const right = Draw.text('bar')

      expect(Draw.suffixText(right)(left)).toEqual(Draw.text('foo-bar'))