• Generates a sequence that contains one repeated value.

    Type Parameters

    • TResult

    Parameters

    • element: TResult

      The value to be repeated.

    • count: number

      The number of times to repeat the value in the generated sequence.

    Returns IEnumerable<TResult>

    An IEnumerable that contains a repeated value.

Generated using TypeDoc