HH\Lib\Keyset\filter_nulls

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

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

namespace HH\Lib\Keyset;

function filter_nulls<Tv as arraykey>(
    Traversable<?Tv> $traversable,
): keyset<Tv>;

Parameters