HH\Shapes::removeKey

Returns a $shape with $index field removed

public static function removeKey(
  HH\darray &$shape,
  arraykey $index,
): void;

Currently allowed only for local variables.

Parameters

  • HH\darray &$shape
  • arraykey $index