Function assertArrayIncludes
- assert
Array <T>(actual, expected, msg?): voidIncludes Type Parameters
Parameters
- actual: ArrayLikeArg<T>
The array-like object to check for.
- expected: ArrayLikeArg<T>
The array-like object to check for.
Optionalmsg: stringThe optional message to display if the assertion fails.
Returns void
- actual: ArrayLikeArg<T>
Make an assertion that
actualincludes theexpectedvalues. If not then an error will be thrown.Type parameter can be specified to ensure values under comparison have the same type.