Go to repository

Function toContain

Answer if the actual value contains the expected element.

Parameters

  • actual: unknown[]
  • expected: unknown

Returns boolean