CONTAINS(permalink)
array.contians(submission);
array.contains(submission_data);
array.contains(permalink);
Returns a boolean indicating whether the SubmissionDataArray
includes a specific submission. It accepts Submission
and SubmissionData
objects, as well as permalink strings.
To get the index of a contained submission, use the indexOf method.