The OpenD Programming Language

filter.filter

template filter(alias predicate)
filter
(
Range
)
(
Range range
)
if (
is(typeof(unaryFun!predicate))
)

Parameters

range Range

An input range of elements

Return Value

Type: auto

A range containing only elements x in range for which predicate(x) returns true.

Meta