HH\Lib\Dict\filter_nulls

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

Given a KeyedTraversable with nullable values, returns a new dict with those entries removed

namespace HH\Lib\Dict;

function filter_nulls<Tk as arraykey, Tv>(
    KeyedTraversable<Tk, ?Tv> $traversable,
): dict<Tk, Tv>;

Parameters