HH\Lib\Dict\fill_keys

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

Returns a new dict where all the given keys map to the given value

namespace HH\Lib\Dict;

function fill_keys<Tk as arraykey, Tv>(
    Traversable<Tk> $keys,
  Tv $value,
): dict<Tk, Tv>;

Parameters