(36 lines)
1 '\" t2 .\" Copyright (c) 2025 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Text.repeat 3 2025-11-29 "Tomo man-pages"6 .SH NAME7 Text.repeat \- repeat text8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Text.repeat\ :\ func(text:\ Text,\ count:\ Int\ ->\ Text)13 .fi14 .SH DESCRIPTION15 Repeat some text multiple times.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx23 l l l.24 Name Type Description25 text Text The text to repeat.26 count Int The number of times to repeat it. (Negative numbers are equivalent to zero).27 .TE28 .SH RETURN29 The text repeated the given number of times.31 .SH EXAMPLES32 .EX33 assert "Abc".repeat(3) == "AbcAbcAbc"34 .EE35 .SH SEE ALSO36 .BR Tomo-Text (3)