Tests if container array contains values array.
container
The values check should be primitive javascript types (String, number, boolean, null, undefined, etc.). and not Object instances.
expect(isArrayContainerOf([2,3,4],[2,3]).value).toBeTruthy()
True if array contains all values from the given target array, false otherwise.
expect(isArrayContainerOf([2,3,4,2], [2,3,4])).value).toBeTruthy()
The container.
The array of values that may be contained.
Generated using TypeDoc
Tests if
container
array contains values array.The values check should be primitive javascript types (String, number, boolean, null, undefined, etc.). and not Object instances.
Example
Returns
True if array contains all values from the given target array, false otherwise.
Example