effect-tree
    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 repeated = Draw.repeatText.rest(3, 'A')
    // ‘AAA’