HH\Lib\Vec\filter_nulls
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>;
Time complexity: O(n) Space complexity: O(n)
Parameters
Traversable<?Tv>
$traversable
Returns
vec<Tv>