HH\Shapes::removeKey

Returns a $shape with $index field removed

public static function removeKey<T as shape(...)>(
  HH\darray $shape,
  arraykey $index,
): void;

Currently allowed only for local variables.

Parameters

  • HH\darray $shape
  • arraykey $index