Go to repository

Function toHaveShape

Answer if the actual element has the given shape, as defined by the shapeOf submodule.

Parameters

  • actual: unknown
  • shape: Shape

Returns boolean