Module lodash_rust::drop
source · Expand description
Creates a slice of array
with n
elements dropped from the beginning.
Example
use lodash_rust::drop;
fn main() {
let res = drop::new([1, 2, 3].to_vec(), Some(5));
println!("{res}") // []
}