pull

Removes elements from a range.

ref
pull
(
alias pred = null
Range
Values...
)
(
return ref Range range
,
Values values
)
if (
from!"std.range".isInputRange!Range
)

Parameters

range
Type: Range

a mutable range

values
Type: Values

variables args of ranges and values to pull out

pred

a unary transoform predicate or binary equality predicate. Defaults to ==.

Return Value

Type: ref

Modified range

Meta

Since

0.0.1