Go to repository

Function or

Create a new JoinedExpectation where any of the expectations need to have a true result in order for the result of the joined one to be also true. That is, an expectation that joins it's components with a logical or.

Parameters

  • Rest
    ...expectations: FinishedExpectation[]

    A list of expectations where one need to be fulfilled in order to return true as result.

Returns FinishedExpectation