Go to repository

Function toMatch

Answer if the actual value matches the given regexp.

Parameters

  • actual: string
  • expected: RegExp

Returns boolean