Module: helpers/sl/synchronous/contains

Methods

(inner) contains(appopt, underTest, testFor) → {Boolean}

Test whether value(s) are contained in other values.

Value(s) to test for can be a single value or an array of values. All values must be present in the values being tested or the test will fail

Parameters:
Name Type Attributes Description
app ember/Application <optional>
underTest Array | String | Object
testFor Array | String | Object
Source:
Throws:

If parameters are not an array, string, or object

Type
ember.assert
Returns:
Type
Boolean