Skip to main content

builtin_rep_int

Function builtin_rep_int 

Source
fn builtin_rep_int(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Replicate elements a specified number of times.

@param x a vector @param times number of times to repeat @return vector with elements repeated