Star
Docs/v5/Repeat()

Repeat()

Returns a Seq.Indexed of value repeated times times. When times is not defined, returns an infinite Seq of value.

Repeat<T>(value: T, times?: number): Seq.Indexed<T>

Note: Repeat is a factory function and not a class, and does not use the new keyword during construction.