Ds\Vector::filter

Ds\Vector::filter

(PECL ds >= 1.0.0)

Ds\Vector::filter Creates a new vector using a callable to determine which values to include.

Description

public Ds\Vector Ds\Vector::filter ([ callable $callback ] )

Creates a new vector using a callable to determine which values to include.