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

    Function repeatText

    A text part that is width wide composed entirely of the given string repeated or sliced.

    import {Draw} from 'effect-tree'
    const {drawPart, repeatText} = Draw

    const part = repeatText(3, 'A')

    expect(drawPart(part)).toEqual(['AAA'])