drop

Drops n elements from beginning of range

drop
(
Range
)
(
Range range
,
size_t n = 1
)
if (
from!"std.range".isInputRange!Range
)

Parameters

range
Type: Range

input range

n
Type: size_t

number of elements to drop

Return Value

Type: auto

new range

Examples

import std.array;
assert([1, 2, 3].drop.equal([2, 3]));

Meta

Since

0.0.1