SP.EnumerableArray.contains(item) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Determines whether the specified object exists as an element in the SP.EnumerableArray object.

var value = SP.EnumerableArray.contains(item);

Parameters

item

Type: Object

The object to find in the array.

Return Value

Type: Boolean

true if the specified object exists as an element in the array; otherwise, false.

Remarks

This method determines whether the object specified by the item parameter exists as element in the array object.

Applies To

SP.EnumerableArray Class

See Also

Reference

SP.EnumerableArray Methods

SP.EnumerableArray Properties

SP Namespace