HH\ImmMap::differenceByKey

Description

public function differenceByKey(
  KeyedTraversable<Tu,Tw> $traversable,
): ImmMap<Tk,Tv>

Returns a new ImmMap with the keys that are in the current ImmMap, but not in the provided KeyedTraversable.

Parameters

  • KeyedTraversable<Tu,Tw> $traversable - The KeyedTraversable on which to compare the keys.

Return Values

Examples

See Map::differenceByKey for usage examples.