HH\Lib\Vec\filter_nulls

This API is part of the Hack Standard Library, not HHVM itself.

Returns a new vec containing only non-null values of the given Traversable

namespace HH\Lib\Vec;

function filter_nulls<Tv>(
    Traversable<?Tv> $traversable,
): vec<Tv>;

Parameters