ifIncludes()
If the second argument is in the first argument (array) the third argument is passed back, otherwise the fourth argument (or if not given the first argument) is passed back.
This function is valid in v2.13.0 to v2.24.3. This function has been downloaded 61 times.subject
against.arrControls
.subject
is found within arrControls
.subject
subject
is not found within arrControls
.trueValue
will be returned if subject
is found within arrControls
. Otherwise, if opt_falseValue
is given it will be returned, but if not given arrControls
will be returned.This function directly requires the following function which is included automatically:
ifIs()
This function is directly required by the following function:
ifIs()